Announcement

Collapse
No announcement yet.

how to exclude index page from displaying a code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to exclude index page from displaying a code

    how to exclude forum homepage from displaying a code?
    on vb3.8 i use this if statement to do it...

    <if condition="THIS_SCRIPT != 'index'">
    code here
    </if>

    but now it wont work anymore in vb4. i receive invalid argument everytime i try to use it.

    im planning to exclude the index page from displaying the global footer ads.
    vBulletin 4.2.5 | PHP 7.0.31 | MariaDB 10.2.17

  • #2
    Old thread, but just found it thru google, and got the solution I was looking for... just need a minor change to the above.

    Code:
    <vb:if condition="THIS_SCRIPT != 'index'">
    code here
    </vb:if>
    -Munkholm
    www.revitforum.org

    Comment

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