Treemenu depth_skip

Author Message

Luc Chase

Saturday 16 April 2005 10:14:24 am

Quick question...
what is depth_skip relative to?
Is it realtive to 'node_id' (which is what I expected) or relative to the root of the whole tree?
Seems to be the later... but seems to me it should be the former.

{let limitedTree=treemenu( path, 
              node_id,
              [ class_filter, ]
              [ depth_skip, ]
              [ max_level ] ) depth=1}

{/let}

The Web Application Service Provider

Ɓukasz Serwatka

Monday 18 April 2005 1:50:08 am

Hi Luc,

Is it realtive to 'node_id'
In this document is a example with depth_skip
http://ez.no/ez_publish/documentation/reference/template_operators/miscellaneous/treemenu

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 11:45:55
Script start
Timing: Jan 19 2025 11:45:55
Module start 'layout'
Timing: Jan 19 2025 11:45:55
Module start 'content'
Timing: Jan 19 2025 11:45:55
Module end 'content'
Timing: Jan 19 2025 11:45:55
Script end

Main resources:

Total runtime0.0158 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.0063 589.0547152.6094
Module start 'layout' 0.00640.0033 741.664139.4141
Module start 'content' 0.00970.0042 781.078189.4297
Module end 'content' 0.01390.0019 870.507830.3047
Script end 0.0158  900.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002113.5340140.0002
Check MTime0.00106.3186140.0001
Mysql Total
Database connection0.00095.858110.0009
Mysqli_queries0.003823.989230.0013
Looping result0.00000.082810.0000
Template Total0.00159.710.0015
Template load0.00085.194510.0008
Template processing0.00074.481210.0007
Override
Cache load0.00053.357210.0005
General
dbfile0.00021.515380.0000
String conversion0.00000.057240.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.0002 secs