![]() |
Custom Navbar Links
Author: Andrew Harmor
Version: 1.20 File Edits: 0 Template Edits: 1 Difficulty: Easy Please click https://vborg.vbsupport.ru/ 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:
Let's say you're class is "nav_element" then it should look like this PHP Code:
Find: PHP Code:
PHP Code:
To get this to work with CMPS (Thanks To: drl2005) Code:
In your CMPS settings under Portal Output Global Variables place: 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 |
Any screenshots mate?
|
Just posted them, SnowBot
|
LOL yer i just hit refrsh :) OK mate gonna take a look but this is the sort of thing i have been looking for :)
|
LOL...dude...this is wonderful.
I think that the navbar should be fed from the admincp instead of a templet....it just makes more sense. |
Add The Following Phrases to Error Messages
What error mesages Do you mean to add these new phrases to cp stop messages? |
Quote:
I search for it and I got the following results Error Messages Phrases Containing 'saved_faq_x_successfully' saved_faq_x_successfully Standard Phrase Saved FAQ <i>{1}</i> Successfully and that isn't an error message as you can see. I already tried "cp stop messages" but it didn't work. |
Same here M8
Quote:
|
suggestion for the tool: - new structure for editing the links:
a: Name of the Link b: URL of the link c: TARGET (new window or not) d: Title for the title tag when hovering ;) HTML Code:
<a href="$url" target="$target" title="$title">$name</a> |
Quote:
I'll have to find the function for the radio buttons @d do you mean when hovering it shows text in the status bar? |
All times are GMT. The time now is 06:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|