How to make 2 menu?

About the template and stylesheet - and changing the menu
Post Reply
dalasco
Posts: 1
Joined: Wed Nov 09, 2011 7:59 am

How to make 2 menu?

Post by dalasco » Wed Nov 09, 2011 8:26 am

How to make 2 menu,
One on the top,other left or right side?

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: How to make 2 menu?

Post by cmb » Wed Nov 09, 2011 10:43 am

Hi dalasco,

you have to edit your template. To show the menu it contains

Code: Select all

<?php echo toc()?>
If you like a second vertical menu, you just would have to copy the code to another place. Having a full vertical menu is somewhat more complicated (see http://cmsimplewiki.com/doku.php/addons/xtoc, it contains links to alternative solutions at the bottom). If the first menulevel is enough for the vertical menu just use:

Code: Select all

<div id="vertical-menu"><?php echo toc(1)?></div>
and style it according to your needs.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply