Mod Version: 1.00 ,, vB Version: 4.0.4
I think this mod is useful for those who has many sections, the navbar cannot hold to much sections, that you ended up picking in the forntpage editor which sections can sit in the navbar.
please see screenshot.
style manager> style name>edit templates> vbulletin cms templates> vbcms_navbar_link
replace all:
I think this mod is useful for those who has many sections, the navbar cannot hold to much sections, that you ended up picking in the forntpage editor which sections can sit in the navbar.
please see screenshot.
style manager> style name>edit templates> vbulletin cms templates> vbcms_navbar_link
replace all:
PHP:
<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">
<li class="popupmenu" id="yui-gen0">
<a accesskey="6" class="popupctrl" href="javascript://" id="yui-gen2">Sections</a>
<ul class="popupbody" id="yui-gen1" style="display: none; left: 0px; top: 23px;">
<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>
</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>