Forums / General / Problem with double top menu (and others)

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

eZ debug

Timing: Jan 31 2025 01:18:44
Script start
Timing: Jan 31 2025 01:18:44
Module start 'content'
Timing: Jan 31 2025 01:18:44
Module end 'content'
Timing: Jan 31 2025 01:18:45
Script end

Main resources:

Total runtime0.1935 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9453370.2969
Module start 'content' 0.00640.0120 958.24221,001.5469
Module end 'content' 0.01850.1750 1,959.78913,893.0391
Script end 0.1934  5,852.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00472.4162200.0002
Check MTime0.00140.7324200.0001
Mysql Total
Database connection0.00050.264110.0005
Mysqli_queries0.095849.54161410.0007
Looping result0.00130.66731390.0000
Template Total0.174690.210.1746
Template load0.00070.355510.0007
Template processing0.173989.887310.1739
Override
Cache load0.00050.238810.0005
Sytem overhead
Fetch class attribute can translate value0.00251.282410.0025
XML
Image XML parsing0.00050.278510.0005
General
dbfile0.00753.8541200.0004
String conversion0.00000.002230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs