Monday 28 August 2006 12:11:50 am
Hello Martin In addition to what Norman said also have a look at the menu.ini. Here you can better see what menus are available. The 'DoubleTop' is just a group name which is useful to select the menu style when using the admin interface for EZ, it is not the name of the menu itself. The actual name of the menu is TopMenu, as you can see in the menu.ini. The menu.ini maps these menu names to the names of the templates that are used to display the menu. You can find the templates in the folder Norman mentioned. This way you can also add your own menus, just create a template, name it accordingly, include it in the menu.ini and call it in your pagelayout.
Example:
I have two left menus that are included on a certain condition. My menu.ini.append.php looks like this (just the relevant part)
[LeftTop]
TitleText=Left and top
MenuThumbnail=menu/left_top.jpg
TopMenu=flat_top
LeftMenu=flat_left
ProductLeftMenu=product_left
I included the menus in pagelayout.tpl like this:
{menu name=TopMenu}
.
.
.
{if <condition>}
{menu name=LeftMenu}
{else}
{menu name=ProductLeftMenu}
{/if}
The template for the ProductLeftMenu has the filename product_left.tpl and is located in the folder \design\<name of site design>\templates\menu Greetings from Luxembourg Claudia
|