This tutorials shows users how to show a "Forum" link on your vBadvanced homepage and a "Home" link on your forum.
You can see both types of the dyanmic links I am talking about below
Dynamic links with images in header - http://www.talkdelaware.com
Dynamic text links in middle navbar - http://www.talkphillysports.com
Creating dynamic links with images.
In the example from TalkDelaware above i simply replaced the first button images codeing in the header template with this.
Code:
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="forums.php"><img src="http://www.talkdelaware.com/talkstuffbg/misc/links_forum.gif" alt="Delaware Forum" width="75" height="39" border="0"></img></a>
<else />
<a href="http://www.talkdelaware.com/"><img src="http://www.talkdelaware.com/talkstuffbg/misc/links_home.gif" alt="Delaware Home" width="75" height="39" border="0"></img></a>
</if>
For you to use this code, simply replace the images i have in there with yours, the alt text, and the image sizes.
What this tell your browser is "If on the homepage, show the FORUM image and link, if on any page BUT the homepage, show the HOME image and link"
Below is the same code only using text rather then images. Code:
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="forums.php">Forum</a>
<else />
<a href="index.php">Home</a>
</if>
Much simpler code, works the same way only without the images.
using this method will enable you to simplify the navigation on your site and eliminate one button from your navigation scheme.