Quote:
Originally Posted by Fenriz
And what is condition for the whole vbgallery? I've tried "gallery", "vbgallery", "vBGallery", "vbagallery". It's not working..
|
The trick is to use PP_SCRIPT as the identifier instead of THIS_SCRIPT.
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'">
<td class="vbmenu_control"><a href="$vboptions[homeurl]/gallery/$session[sessionurl_q]">Gallery</a></td>
</if>