Just when I thought me and the MenuManager were getting along just funky and all old animosities were firmly in the past this had to happen...
I'm in the process of turning someone elses code into a CMSMS template and all was going well, I had MM working fine - in fact I had the same minimal template controlling a horizontal and a vertical menu with different CSS styling.
The code for the vertical menu was this
{menu start_element="x.1" template="css_version" show_root_siblings="1"} (where x is the section number)
This showed the first child page of the section and its siblings. Worked fine.
After an svn update, however, it now shows EVERY page on the site in the menu with the css highlighting ALL the pages in the named section instead of just the page it's on. You can see this here
http://utterhome.plus.com/NSCLC/index.p ... fessionals
If you scroll down you can see the wrongly highlighted section of pages. This happens on all pages now.
Has something changed in MM parameters that's not reflected in the Help text?
System info:
Linux version = CentOS Linux 4.1
MySQL version = 4.1.20
PHP version = 4.3.9-3
MenuManager
-
cyberman
Re: MenuManager
I'm not a dev, but cause there are some code changes svn version will perhaps only work with CMSms 1.x correctlyUtter wrote: After an svn update,
Re: MenuManager
Try this change...
/* a:link style that is applied to SELECTED PAGE OF SCHOOL STAFF SECTION */
#left_nav .menuactive a{ Delete the a as in the second paste down there \/
background-image:url(images/back_over_staff.gif);
background-position:left;
background-repeat:no-repeat;
/* a:link style that is applied to SELECTED PAGE OF SCHOOL STAFF SECTION */
#left_nav .menuactive {
background-image:url(images/back_over_staff.gif);
background-position:left;
background-repeat:no-repeat;
/* a:link style that is applied to SELECTED PAGE OF SCHOOL STAFF SECTION */
#left_nav .menuactive a{ Delete the a as in the second paste down there \/
background-image:url(images/back_over_staff.gif);
background-position:left;
background-repeat:no-repeat;
/* a:link style that is applied to SELECTED PAGE OF SCHOOL STAFF SECTION */
#left_nav .menuactive {
background-image:url(images/back_over_staff.gif);
background-position:left;
background-repeat:no-repeat;
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: MenuManager
I didn't try Mark's solution, but this seemed to work for me on that page:mark wrote: Try this change...
/* a:link style that is applied to SELECTED PAGE OF SCHOOL STAFF SECTION */
#left_nav .menuactive a{ Delete the a as in the second paste down there \/
background-image:url(images/back_over_staff.gif);
background-position:left;
background-repeat:no-repeat;
/* a:link style that is applied to SELECTED PAGE OF SCHOOL STAFF SECTION */
#left_nav .menuactive {
background-image:url(images/back_over_staff.gif);
background-position:left;
background-repeat:no-repeat;
Replace:
Code: Select all
/* a: style for ICT PRO currently selected page */
#left_nav .menuactive a{
background-image:url(images/back_over_pro.gif);
background-position:left;
background-repeat:no-repeat;
color:#000000;
/* background-color: #E7ECD5; */
}Code: Select all
/* a: style for ICT PRO currently selected page */
#left_nav .menuactive {
background-image:url(images/back_over_pro.gif);
background-position:left;
background-repeat:no-repeat;
color:#000000;
/* background-color: #E7ECD5; */
}See: http://chrispederick.com/work/webdeveloper/
Hope this helps,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
Re: MenuManager
Guys, guys....
You're really not reading me here - I must be losing my powers of description ;P
The problem is NOT the CSS it's the fact that MM is now dumping ALL the pages from the site into the menu instead of just the root siblings for each section. Before this occurred each section menu simply went from x.1 to whatever the last page of the section was but now displays everything at once.
If I remove the 'show_root_siblings' parameter I just get the first page of the section in the menu which is right so somehow the sibings parameter is being misinterpreted. Or something.
You're really not reading me here - I must be losing my powers of description ;P
The problem is NOT the CSS it's the fact that MM is now dumping ALL the pages from the site into the menu instead of just the root siblings for each section. Before this occurred each section menu simply went from x.1 to whatever the last page of the section was but now displays everything at once.
If I remove the 'show_root_siblings' parameter I just get the first page of the section in the menu which is right so somehow the sibings parameter is being misinterpreted. Or something.
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: MenuManager
My bad, I was sleep deprived.Utter wrote: Guys, guys....
You're really not reading me here - I must be losing my powers of description ;P
I think I just fixed your problem:Utter wrote: The problem is NOT the CSS it's the fact that MM is now dumping ALL the pages from the site into the menu instead of just the root siblings for each section. Before this occurred each section menu simply went from x.1 to whatever the last page of the section was but now displays everything at once.
If I remove the 'show_root_siblings' parameter I just get the first page of the section in the menu which is right so somehow the sibings parameter is being misinterpreted. Or something.
http://viewsvn.cmsmadesimple.org/viewsv ... r&view=rev
Please let me know if a svn update fixes it.
Thanks,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
Re: MenuManager
Elijah. You're a star!
Works just like it says on the tin now... Cheers!
Works just like it says on the tin now... Cheers!

