Problem with MenuManager 1.7.2 in CMSMS 1.9.2

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
pjanda
New Member
New Member
Posts: 2
Joined: Tue Jan 11, 2011 8:26 pm

Problem with MenuManager 1.7.2 in CMSMS 1.9.2

Post by pjanda »

Hello everyone,
I am using CMSMS 1.9.2 for first time. Before I've used 1.6.x. And now I have problem with new version of MenuManager and with value $node->parent. In older version this contains TRUE is $node is parent of current page (as help says aswell). This value has been true even if menu levels has been limited to number_of_levels=1 and current page has been from 3rd level for example. This I am using when I am displaying main menu of page and want to highlight current tree part however main menu is not for showing submenus (top menu vertical, submenu somewhere else horizontal).

In new version of MenuManager is $node->parent value true only if current page is in displayed menu as well. So, if I don't limit number_of_levels, then parent on first level=true. If I limit number_of_levels=1, same menu in same place is $node->parent=false. In my eyes it is bug, but may be you can find some mistake in my usage. My problem is, that "one level menu" doesn't work with parent value properly as said in help and as it has been in older version. I don't want to load whole menu and hide lower levels by css... It causes that I am repeating submenu twice in HTML without any reason.

Thank you help!
Pavel
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Problem with MenuManager 1.7.2 in CMSMS 1.9.2

Post by RonnyK »

This is fixed in SVN, and will be released with the upcoming 1.9.3 of CMSMS.

Ronny
pjanda
New Member
New Member
Posts: 2
Joined: Tue Jan 11, 2011 8:26 pm

Re: Problem with MenuManager 1.7.2 in CMSMS 1.9.2

Post by pjanda »

Thanks Ronny, I've sent my question earlier than I've found that - searching in SVN is not my strong part :o) - I've used R197 and it works!!! Thank you for post and sorry for irelevant question. May be this will help to someone :)
Post Reply

Return to “CMSMS Core”