![]() |
Navigation Manager
For some unknow reason, in 4.2 with the Navigation Manager if you delete a item, it leaves behind the record in the navigation table and in the phrase table.
I have found a way to delete the record in the navigation table by adding this code via a plugin to the navigation_admin_dodelete hook. PHP Code:
Thanks |
Did you put in a bug report about this?
|
Hi Lynne their is already something in JIRA http://tracker.vbulletin.com/browse/VBIV-15177
But that don't help me at the moment. Thanks |
I'm the one that filed that report and just about fell out of my chair when I saw it marked "As designed" and "Resolved".
I would have to double check it, but the reason you can't delete the phrase is there isn't any id that links them to the navigation item. You need to know the full name of the phrase and delete it using that phrase. The standard phrases for navigation items are... Code:
FOR MENUS: vb_navigation_menu_' . $name . '_text' |
I'm soooo glad i haven't moved to vb4 beta :) wonder if vb5 will still be in constant beta mode?
|
Quote:
Thanks :) |
Quote:
|
I tried something like that but I don't think I write it correctly, when I would delete a item via the navigation manager, it would delete the item in the db just fine but not the phrase, so I don't know how to code it to do that.
|
Quote:
|
Hi Lynne, actually I tried so many different things I deleted the whole thing and then just wrote the part to remove the item from the navigation table. I know that don't help you but I tried looking back on my text files and don't have what I wrote anymore. :(
|
All times are GMT. The time now is 08:30 PM. |
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:
|