Problem with double top menu (and others)

Author Message

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 ;)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:18:47
Script start
Timing: Jan 18 2025 19:18:47
Module start 'layout'
Timing: Jan 18 2025 19:18:47
Module start 'content'
Timing: Jan 18 2025 19:18:48
Module end 'content'
Timing: Jan 18 2025 19:18:48
Script end

Main resources:

Total runtime1.0117 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.4531152.6250
Module start 'layout' 0.00530.0036 742.078139.4453
Module start 'content' 0.00891.0016 781.5234464.5156
Module end 'content' 1.01050.0012 1,246.03918.1406
Script end 1.0117  1,254.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3349160.0002
Check MTime0.00130.1287160.0001
Mysql Total
Database connection0.00060.061810.0006
Mysqli_queries0.960394.9194540.0178
Looping result0.00060.0594520.0000
Template Total0.977096.620.4885
Template load0.00200.200920.0010
Template processing0.975096.365820.4875
Template load and register function0.00020.018110.0002
states
state_id_array0.00180.180810.0018
state_identifier_array0.00200.197020.0010
Override
Cache load0.00180.1731350.0001
Sytem overhead
Fetch class attribute can translate value0.00100.099320.0005
Fetch class attribute name0.00400.396420.0020
XML
Image XML parsing0.00020.024620.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00070.0670100.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs