Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

MULTIPLE MENUS (again)


Reply


3 Posts   1168 Views

Avatar
servalman

Community Member, 211 Posts

25 July 2010 at 12:01am

Hello evryone.

I need to build several separated menus on my web site for example :

I need the top level menu to be split in two with the logo in the middle (see image) look like this .

I have found solutions on this forum but all them uses a top level menu items not displayed.

This works fine but I have a problem:
Some of the site menus ahve already 3 levels and If i have to use a top hidden level it comes up to 4.

So can someone help me with this. I'd like to find a elegant way not using menu item or a solution to deal with 4 level menus

(if the post exist already just give me the link)

Thank you all

Attached Files
Avatar
prawnstar

Community Member, 127 Posts

25 July 2010 at 8:21am

Hi servalman,

I was looking for a somewhat similar solution to controlling a nav item a while ago and found this to be helpful:
http://www.ssbits.com/manipulating-every-nth-item-in-a-control-loop/

Maybe something there for you? Maybe a combo of that and a little JavaScript?

Chris.b

Avatar
servalman

Community Member, 211 Posts

25 July 2010 at 11:31pm

Thank you for you answer

I will try this way but I don't know much about javascript.

Nevertheless I'm quite surprised it is so hard to find a simple way of splitting the first menu level in two.

I will try also with css but I doubt I'll fine something there.

Again if anyone knows something about this

Thanks anyway I'll let you know

T