How do I write this if statement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RadarReviews_Net
    Member
    • Oct 2007
    • 82
    • 3.6.x

    How do I write this if statement

    If I want to write an " if " statement where I want a link to only appear on my homepage what code would I need to put, this link I want to appear only in my footer on the homepage. The homepage is the vbadvanced page if that matters at all... homepage is Radar Reviews.Net

    Thanks!
  • Murphy
    Senior Member
    • Oct 2004
    • 213
    • 3.8.x

    #2
    This will only show on index.php


    Code:
    <if condition="THIS_SCRIPT == 'index'">
    
    PUT YOUR CODE HERE
    
    </if>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...