XManuX
11-30-2009, 09:06 AM
I've set a hook in global_start to tell which tab is selected. For now i don't use any conditional structures, just a plain :
$vbulletin->options['selectednavtab'] = 'TESTINGMOD';
for testing purposes.
In my navbar template, i have the following :
<vb:if condition="$vboptions['selectednavtab'] == 'TESTINGMOD'">
<li class="selected"><a class="navtab" href="http://boardurl/content.php/114">section1</a></li>
<vb:else />
<li><a class="navtab" href="http://boardurl/content.php/114">section1</a></li>
</vb:if>
But it is only working in the forums, which leads me to think that "global_start" is only working inside the forums area...
Question : what is the equivalent of "global_start" for CMS ?
$vbulletin->options['selectednavtab'] = 'TESTINGMOD';
for testing purposes.
In my navbar template, i have the following :
<vb:if condition="$vboptions['selectednavtab'] == 'TESTINGMOD'">
<li class="selected"><a class="navtab" href="http://boardurl/content.php/114">section1</a></li>
<vb:else />
<li><a class="navtab" href="http://boardurl/content.php/114">section1</a></li>
</vb:if>
But it is only working in the forums, which leads me to think that "global_start" is only working inside the forums area...
Question : what is the equivalent of "global_start" for CMS ?