Custom Navbar Links
This modification is in the archives.
Author: Andrew Harmor
Version: 1.20 File Edits: 0 Template Edits: 1 Difficulty: Easy Please click Description: Adds a drop down menu on your navbar which contains links you add through the ACP. ################################################################# FAQ Q: The link doesn't look right on the navbar A: While on your forums view the source and search for id="navbar_search" To the right should be "class" (For the default skin the class is "vbmenu_control") Edit the navbar template Find: PHP Code:
<td id="custom_links" class="vbmenu_control">
Let's say you're class is "nav_element" then it should look like this PHP Code:
<td id="custom_links" class="nav_element">
Find: PHP Code:
<td class='vbmenu_control'>
PHP Code:
<td class='nav_element'>
To get this to work with CMPS (Thanks To: drl2005) Code:
In your CMPS settings under Portal Output Global Variables place: custom_droplinks custom_singlelinks 1.00 Initial Release 1.02 All Phrases are now in the product xml The option to have link open in new window 1.03 Option to add new links on navbar as a stand alone link or in the drop down menu. 1.04 Sort the display order of links in the drop down menu. 1.05 16x16 images can be added to both stand-alone and drop down links 1.06 Templates are now cached 1.07 Fixed bug in product. Changed the maximum characters for "name" from "20" to "100" 1.20 Usergroup permissions per link Download This modification is archived and cannot be downloaded. Screenshots
|