EZ publish 4.0 Treemenu

Author Message

Angelo Maiorano

Wednesday 20 February 2008 1:32:17 am

Hello Everybody,

i'm new in ez Publish and i want to create a menu with the content of a folder.

I try to use treemen in my template, but i don't know how to fill the path paramater of the treemenu function.

How can i know the path of the folder that contain page i want to show in my menu?

Thanks in advance

Angelo

Angelo Maiorano

Tuesday 26 February 2008 11:53:02 pm

No one has an idea for that?

Best regards

Angelo

Tobias Vogel

Wednesday 27 February 2008 1:38:30 am

I'd put the node-id into a ini file, e.g. site.ini.append.php and read it out in the template, to make a fetch.

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/data_and_information_extraction/ezini

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

Main resources:

Total runtime0.0248 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.0070 589.0234152.6250
Module start 'layout' 0.00700.0040 741.648439.4453
Module start 'content' 0.01100.0112 781.093889.1016
Module end 'content' 0.02230.0025 870.195330.3047
Script end 0.0247  900.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.5087140.0002
Check MTime0.00124.9737140.0001
Mysql Total
Database connection0.00145.777910.0014
Mysqli_queries0.003715.107730.0012
Looping result0.00000.077010.0000
Template Total0.00197.610.0019
Template load0.00103.857710.0010
Template processing0.00093.764410.0009
Override
Cache load0.00072.719710.0007
General
dbfile0.00031.177580.0000
String conversion0.00000.040440.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