![]() |
an if condition
Alright I am working on this navbar issue I seem to be having. I have vbpages that I really do not what my navbar links to show because some of them just don't make sense having on every page IMO. So I wanted to create an If statement that if they are viewing the forum get see this one navbar and if they are viewing another part of the site they will see another navbar..
anyone have any ideas? |
you'll need to define the pages i suggest
PHP Code:
HTML Code:
<if conditon="WHAT_NAV == forums">normal nav<else />other nav</if> |
just this:
<if condition="THIS_SCRIPT=='showthread' ">whatever</if> showthread means viewing showthread.php, same for the others e.g forumdisplay when view a list of threads, member when viewing public profile of a user... |
All times are GMT. The time now is 12:58 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:
|