Forums / Setup & design / What file controls the topMenu?

What file controls the topMenu?

Author Message

Simon Haugsten Hansen

Sunday 14 August 2005 3:37:45 am

I've been searching the documentation and couldn't find anything about where the topMenu is controled in the standard templates.

in the page layout it is only refered to by

{menu name=TopMenu}

I would like to make my own dynamic menu, and would like to see how the standard menu is coded.

Thanks, Simon

Andreas Zwinkau

Sunday 14 August 2005 3:57:28 am

The template is in flat_top.tpl

You should find it in:
/design/base/templates/menu/
If you use the corporate design, your file should then go into
/design/corporate/override/templates/menu/

Simon Haugsten Hansen

Sunday 14 August 2005 4:12:44 am

Great!

I'm using my own design.
Does it make a difference if I put it in:
/design/mydesign/override/templates/menu/
or:
/design/mydesign/templates/menu/
?