The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 :
PHP Code:
In my navbar template, i have the following : Code:
<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> Question : what is the equivalent of "global_start" for CMS ? |
#2
|
|||
|
|||
![]()
try process_templates_complete hook
|
#3
|
||||
|
||||
![]()
This is a known issue, logged in the bug tracker.
|
#4
|
|||
|
|||
![]()
<a href="https://vborg.vbsupport.ru/showpost.php?p=1916326&postcount=5" target="_blank">Adrian solution</a> worked for me
|
#5
|
|||
|
|||
![]()
Yeah just saw Paul M message in vB4 bugtracker.
process_templates_complete hook works fine for CMS (but isn't for blogs it seems.) |
#6
|
|||
|
|||
![]()
works for me in blogs and everywhere else
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|