![]() |
Navbar if condition on gallery
hey folks
i am wondering if anyone might know the code i could use in my if condition to see if the user is looking at the gallery of the forum (vbGallery). If they are on the gallery, i obviously don't need a link to the gallery page. Thanks john |
This should do the trick:
HTML Code:
<if condition="THIS_SCRIPT == 'scriptname'">your link code here</if> For example: PHP Code:
|
Awesome, thanks a lot :)
|
And what is condition for the whole vbgallery? I've tried "gallery", "vbgallery", "vBGallery", "vbagallery". It's not working..
|
Quote:
Below is the exact code I'm using over at Cool Sci-Fi; when in the gallery the navbar menu is not shown, when you're anywhere else it shows. Code:
<if condition="PP_SCRIPT != 'vBGallery'"> |
KW802, great, thanks, it works!
|
All times are GMT. The time now is 09:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|