Quote:
The advantage of doing it in the DB is the admin can move it around to any menu once it's created. After working with it a bit, I found management really isn't difficult. It's only a couple of DB writes at application type creation (in my mod) and then I'm done with it. No need to parse out a special template or anything else in vB 4.2. And the nice thing is that when the product is uninstalled, the navigation and phrase info gets deleted like it should. |
Quote:
http://tracker.vbulletin.com/browse/VBIV-14959 To avoid this you would have to do some trickery in your installation code. If anyone feels that this issue is important, please vote for it :) |
Quote:
|
Consistent with Plug-ins, yes - but not consistent with how it worked in previous vBulletin versions:
In previous versions Add-ons usually added their links into the Navbar by rendering their own templates on a certain template Hook. If the Administrator modified those templates (eg. if he added another link), an upgrade of the Add-on would not overwrite this modification - the link would still be there after an upgrade. Most items (Settings, Cron-Jobs, FAQ, Admin-Help, etc.) do have a volatile flag to handle "custom items" on upgrades, and this is what is missing here. |
Quote:
Well i liked vb 4.2.0 navigation manager and specially for my new mod. Yes i still have to create one plugin which i was doing in earlier version also but i won't have to create new template for it to use vb:each function. i am creating a new mod which has one tab and under which there are 5 menu by default. (which i will create it through navigation manager) there are 3 menu who's links are not fixed, it changes for each usergroup, so i will be creating array of links for those menus which i was for doing in earlier version also. i don't know how others are going to place their dynamic links inside menu, but i will be doing this way Plugin Hook: set_navigation_tab_main PHP Code:
1) admin can add new menu inside "mytabname" easily through navigation manager 2) admin can add new links inside any menu. (even those menu which have dynamic links) 3) admin can change displayorder, title of any menu. 4) admin can change title of any links through navigation. (for dynamic links through phrase manager) 5) it hardly effects overall performance. (.1 extra second) |
Quote:
But a workaround for that is to create another product that only contains navigation items. Then the navigation items don't get overwritten if the main product is updated. |
Yep, that would work but doesn't seem that user friendly ;)
Another workaround would be to do some installation code trickery to add already existing items to the XML data. |
Quote:
The funny thing is (if I'm reading that bug report right) if an admin adds 10 or 20 navigation tabs/menu selections to a stock vB installation using the vBulletin product as the parent, and then updates vB, all of those changes will be lost with the upgrade. That's a bug to me! The admin will have to re-insert the changes he made each time he upgrades vB. So that's not an improvement request. |
This is Paul M's blog on how to use the Navigation Manager
https://www.vbulletin.com/forum/entr...amp-Navigation Kym |
Quote:
|
All times are GMT. The time now is 07:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|