The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#14
|
|||
|
|||
![]()
Still want help with this my friend? PM Me
--------------- Added [DATE]1280246798[/DATE] at [TIME]1280246798[/TIME] --------------- Quote:
This is code specifically refers generating the tab code for the Forums tab. I have had a breakthrough with this and no one else seems willing to help you out. I found out that any link to the CMS home page would need to be like this Code:
href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}" For the life of me I cannot work out why!! but here is the code Code:
<vb:if condition="$vboptions['selectednavtab'] == 'vbcms'"> <li class="selected"> <vb:if condition="$vboptions['vbcms_url']"> <a class="navtab" href="{vb:raw vboptions.vbcms_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a> <vb:else /> <a class="navtab" href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a> </vb:if> <ul class="floatcontainer"> {vb:raw template_hook.vbcms_navbar_start} <vb:if condition="$links"> <vb:each from="links" value="link"> <li><a href="{vb:raw link.url}">{vb:raw link.title}</a></li> </vb:each> <vb:else /> <li class="hidden"> </li> </vb:if> {vb:raw template_hook.vbcms_navbar_end} </ul> </li> <vb:else /> <li> <vb:if condition="$vboptions['vbcms_url']"> <a class="navtab" href="{vb:raw vboptions.vbcms_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a> <vb:else /> <a class="navtab" href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a> </vb:if> </li> </vb:if> I have tested with making my own phrase and it works! Good luck! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|