Bugs with MenuManager

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Bugs with MenuManager

Post by spcherub »

CMSMS 1.8.2 and MenuManager 1.6.5

I am faced with three problems with MenuManager and thought I'd post here first before I filed bug reports in case someone else has already faced and fixed it.

Bug #1: When pulling menu items using "childrenof", the module seems to ignore the "Active" and "Show in Menu" settings and displays the item no matter what the settings are for these flags. This does not happen if the menu item is the 2nd or later in the list - only happens for the first item.

Bug #2: "number_of_levels" is being ignored and all levels are being displayed. Again this seems to happen with used with the "childrenof" parameter.

Bug #3: The depth value ($node->depth) for the last item on the list is set to 0 (zero) even if it is on the same level as all other items on the list. I found this out because I was trying to code a workaround for #2 above.

If anyone has information on some or all of these issues, please respond to this post. Else I will post bug reports for this module.

Thanks,
Sanjay
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Bugs with MenuManager

Post by calguy1000 »

#1 and #2 are fixed in CMSMS 1.9

#3 has never been encountered before... would have to check in to that.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: Bugs with MenuManager

Post by spcherub »

@calguy - Thanks for the update. Looking forward to v1.9.

Let me know if you need any more information on #3.

Thanks,
Sanjay
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: Bugs with MenuManager

Post by mox »

Hi,
for the 1#.
If I have a production server and need to don't upgrade to 1.9 for 1 o 2 month, there is a trick?
Can I edit some php file of the MenuManager module?

Thanks
Maurizio
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: Bugs with MenuManager

Post by spcherub »

@mox: A quick workaround for this without doing any code edits is to simply never have an inactive or hidden item as first in the list. Just move it down one position and ten move it back up only once you are ready to display it.
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: Bugs with MenuManager

Post by mox »

Yes, it's the trick.
I wanted to point out that does not work even with the use of excludeprefix='alias'

Anyway, now it's ok
Thank spcherub
Post Reply

Return to “CMSMS Core”