Share » Forums » Setup & design » Split Top-Level menu (3 on top / 6 on...

Split Top-Level menu (3 on top / 6 on vertical menu)

Split Top-Level menu (3 on top / 6 on vertical menu)

Saturday 02 April 2011 1:54:49 am - 1 reply

Modified on Saturday 02 April 2011 1:55:27 am by Volker Stock

Author Message

Volker Stock

Saturday 02 April 2011 4:12:31 am

Ok, i think i got it working. Template operators "|ge" and "|le" helped sorting the menu-items:

{if $key|le(2)} for the top-menu and {if $key|ge(3)} for the vertical menu...

And adding a customized "flat_top.tpl" made the view for the vertical menu (flat_column.tpl).

But it's now directly called in the pagelayout.tpl like this:

<div id="myrightmenu">
{include uri=concat('design:menu/flat_column.tpl')}
</div>

It's working, but it seems a bit like a workaround and i don't know if i'm running into troubles later. Any comments are very appreciated.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu