v3.4 beta2 and menus?

Author Message

gerry rodman

Tuesday 01 June 2004 9:48:02 am

Looking at the pagelayout.tpl generated in a 3.4 install, I see that the tabs at the top are generated by this commend:

{menu name=TopMenu}

I am a newbie so please bear with me while I ask what may be the obvious. I assume that the 'menu' in this line of code is a template command and that it is not shown in the list of template command in the current documentation because it is new with v3.4?

If indeed 'menu' is a template command, how do I determine from a source examination point of view exactly what the 'menu' command does?

Or even if 'menu' is not template command, let me ask more generally:

Where in the distributed source code can I look to see the implementation of any template command?

Thanks,

gr

Jan Borsodi

Tuesday 01 June 2004 10:34:47 pm

The current documentation on the menu system is found in the incoming folder.
http://ez.no/ez_publish/documentation/incoming/how_does_the_new_menu_system_work
http://ez.no/index.php/ez_publish/documentation/incoming/how_to_customise_menu
http://ez.no/index.php/ez_publish/documentation/incoming/how_to_use_menu_system_in_the_template

The doc for the template function will be added sometime today.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 31 2025 06:18:58
Script start
Timing: Jan 31 2025 06:18:58
Module start 'layout'
Timing: Jan 31 2025 06:18:58
Module start 'content'
Timing: Jan 31 2025 06:18:58
Module end 'content'
Timing: Jan 31 2025 06:18:58
Script end

Main resources:

Total runtime0.0151 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0078151.1953
Module start 'layout' 0.00580.0030 739.203136.6328
Module start 'content' 0.00880.0045 775.835990.0938
Module end 'content' 0.01340.0017 865.929729.9922
Script end 0.0150  895.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.9911140.0002
Check MTime0.00117.3490140.0001
Mysql Total
Database connection0.00117.602010.0011
Mysqli_queries0.002616.946830.0009
Looping result0.00000.085410.0000
Template Total0.00138.410.0013
Template load0.00106.746510.0010
Template processing0.00021.625710.0002
Override
Cache load0.00064.032710.0006
General
dbfile0.00031.828280.0000
String conversion0.00000.053840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs