To obtain the menu and submenu item name.

Author Message

nga patel

Thursday 28 April 2005 1:57:45 am

In my site, there is one folder namely "Plan of Site" in which I want to show all the menus and submenus name. For that in the template of "full_view_plan_du_site.tpl", I had used the program of double_top.tpl, which is resides under the design/base/templates/menu. I don't know this is the correct way or not because due to that I can obtain the main menu name but could not successed to obtain the submenu.
So anybody tell me that I have doing right thing?
If not then please suggest any other idea to do this.
Thanks

Łukasz Serwatka

Thursday 28 April 2005 2:01:41 am

Hi,

In
design/standard/templates/node/view/sitemap.tpl

You can use this code to display your plan_du_site ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Thursday 28 April 2005 2:04:34 am

Also

Under this url you can display site map and override default template in Design->Templates->/node/view/sitemap.tpl

http://example.com/index.php/(site)/content/view/sitemap/2

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 00:59:03
Script start
Timing: Jan 19 2025 00:59:03
Module start 'layout'
Timing: Jan 19 2025 00:59:03
Module start 'content'
Timing: Jan 19 2025 00:59:04
Module end 'content'
Timing: Jan 19 2025 00:59:04
Script end

Main resources:

Total runtime0.9276 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.2891152.6406
Module start 'layout' 0.00500.0031 741.929739.4766
Module start 'content' 0.00810.9181 781.4063535.2656
Module end 'content' 0.92620.0014 1,316.671912.1250
Script end 0.9275  1,328.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3454160.0002
Check MTime0.00140.1548160.0001
Mysql Total
Database connection0.00040.047810.0004
Mysqli_queries0.882095.0918570.0155
Looping result0.00050.0561550.0000
Template Total0.903397.420.4516
Template load0.00210.221320.0010
Template processing0.901297.161720.4506
Template load and register function0.00020.017910.0002
states
state_id_array0.00070.080510.0007
state_identifier_array0.00060.069120.0003
Override
Cache load0.00170.1824180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.050120.0002
Fetch class attribute name0.00090.099440.0002
XML
Image XML parsing0.00070.074720.0003
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00150.1646180.0001
String conversion0.00000.000740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs