Page 1 of 1

Bugs with MenuManager

Posted: Sun Oct 31, 2010 1:55 pm
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

Re: Bugs with MenuManager

Posted: Sun Oct 31, 2010 8:38 pm
by calguy1000
#1 and #2 are fixed in CMSMS 1.9

#3 has never been encountered before... would have to check in to that.

Re: Bugs with MenuManager

Posted: Mon Nov 01, 2010 12:42 am
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

Re: Bugs with MenuManager

Posted: Sun Nov 21, 2010 2:05 pm
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

Re: Bugs with MenuManager

Posted: Sun Nov 21, 2010 2:10 pm
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.

Re: Bugs with MenuManager

Posted: Sun Nov 21, 2010 2:20 pm
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