Menu Manager question ...

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.
Locked
Rob_H

Menu Manager question ...

Post by Rob_H »

Hi all,

I'm using CMSms 1.0.2 "Maui" (which is great BTW!) and I'm working on a site which uses horizontal navigation at the top (large coloured squares). The thing about the nave particularly is that each button is styled with a different BG colour through CSS on each buttons' ID. Now, using the menu manager how can I do this:





etc.

I'm using the cssmenu.tpl and have made a copy called horiz which I'm playing with. This menu seems pretty complex, do you think I'd be better off using, say, the 'Minimal' or 'Simple' nav instead. In any event I'd like to find out how I can introduce the addition of one, two, three to the LI's as above. I think I need a count var and an array holding the names one, two etc. Am I on the right track do you think?

Thanks all

Rob
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu Manager question ...

Post by Dr.CSS »

see this thread...

http://forum.cmsmadesimple.org/index.ph ... 67.new#new

what you need if you want the number of the page is id}"  Note the a in front of it with out it you will get errors...
Rob_H

Re: Menu Manager question ...

Post by Rob_H »

Hi Mark,

Thanks for your reply and link. I've been working with this all afternoon and eventually found something similar, that if I used the $node->alias that would work too. Then style the li ID's accordingly. I'm really loving the menu manager, so cool!

Thanks again Mark,

Rob
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu Manager question ...

Post by Dr.CSS »

I have one site with 40 diff. ones.

I use the id instead of alias in case the name changes the number satays the same and numbers are easier to type into the CSS, 2 numbers instead of long convoluted names...

EDIT: satays... stays... oh well I'm tired what can I say  ;) been up all nite bottling water....
Last edited by Anonymous on Fri Sep 29, 2006 2:29 pm, edited 1 time in total.
Rob_H

Re: Menu Manager question ...

Post by Rob_H »

Good point!! I think I may do the same.
Locked

Return to “CMSMS Core”