The Arcive of vBulletin Modifications Site. |
|
CMS - Sections menu navbar as pop-up Details »»
|
||||||||||||||||||||||
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: HTML 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"> <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> Screenshots
Show Your Support
|
||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
100% working and Marking as Installed <3
Any possibility of adding another menu to the right for custom links? |
|
#3
|
|||
|
|||
|
Is it possible to add the article counter behind?
Documentation(5) News(10) ... ..... |
|
#4
|
|||
|
|||
|
Quote:
PHP Code:
|
|
#5
|
|||
|
|||
|
I cannot do this I am not a programmer. I am just an advanced designer
|
|
#6
|
|||
|
|||
|
Update for vB 4.2 ?
|
|
#7
|
|||
|
|||
|
Agree.
Would love to be able to do this in 4.2 |
|
#8
|
||||
|
||||
|
Is there any mod or article to create a jquery menu for Forums like this one:
|
|
#9
|
||||
|
||||
|
Thanks for this, someone thinking of CMS...4.2.1...please?
|
![]() |
|
|