Forums / General / Problem with double top menu (and others)
Udo Baumgart
Friday 21 October 2005 2:01:45 pm
Hi,
i tried to make an override template for pagelayout.tpl in design/plain/override/templates. And it works. ezPublish uses the template. I included page_head.tpl in the template. I included page_mainarea.tpl too. And i can see the content. But i have no idea how i can include double_top menu in my template. I tried {include uri="design:double_top.tpl"} - Nothing happens. In the old docs i found: {menu name=DoubleTop} But: No success. In the reference section of the docs i found {menu name=$Menu_name} too - including an example about LeftMenu. I tried to enable LeftMenu this way and it works if i enable left menu via "Design" in the admin interface. But i want DoubleTop!If i switch on debug i see that there is no template used that has "double", "top" or "menu" in its name.
The list of used templates is:
design/plain/override/templates/pagelayout_standard.tpl design/standard/templates/link.tpl design/standard/templates/page_warning.tpl design/standard/templates/setup/debug_toolbar.tpl design/standard/templates/setup/clear_cache.tpl design/standard/templates/setup/quick_settings.tpl
Both menu-"commands" in the template are in a cell of a table - included in a simple <td> </td> without anything more in the table cell.
I am using 3.7.0.
Any hints? Clearing Caches does no change (if anyone should suggest this...).
Thanx in advance.
Udo
Steph A
Wednesday 26 October 2005 12:24:22 am
Think you have to use the regular
{menu name=TopMenu}
for this. Then set double-topmenu in the menuconfig (in admin).
That should to the trick ;)