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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

MULTIPLE MENUS (again)


Go to End


3 Posts   1522 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
digibrains

Community Member, 130 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