Attribute filter on treemenu (hiding items from navigation)

Author Message

Mark Marsiglio

Sunday 17 October 2004 8:02:00 pm

The treemenu template operator (http://ez.no/ez_publish/documentation/reference/template_operators/miscellaneous/treemenu) seems to have some similarities to regular fetches, but attribute filter is not one of them.

I am trying to hide certain folders from the menu, but how do I filter an attribute using treemenu?

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Björn Dieding@xrow.de

Sunday 17 October 2004 8:25:37 pm

If you have such reguirements it might be maybe wise for you to alter( code php ) the operator to what you need.

otherwise try build your menu with fetch(content,list,{?})

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Lazaro Ferreira

Monday 18 October 2004 4:02:08 am

Hi,

I think you can achieve that using the

fetch( "content","tree"...

operator, then controlling its output via

depth

and

depth_operator

parameters

Lazaro
http://www.mzbusiness.com

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 19:10:12
Script start
Timing: Jan 18 2025 19:10:12
Module start 'layout'
Timing: Jan 18 2025 19:10:12
Module start 'content'
Timing: Jan 18 2025 19:10:13
Module end 'content'
Timing: Jan 18 2025 19:10:13
Script end

Main resources:

Total runtime0.7541 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0102 588.1641152.6563
Module start 'layout' 0.01020.0036 740.820339.5078
Module start 'content' 0.01380.7388 780.3281575.9609
Module end 'content' 0.75260.0015 1,356.289112.4063
Script end 0.7541  1,368.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.5676160.0003
Check MTime0.00130.1751160.0001
Mysql Total
Database connection0.00230.300410.0023
Mysqli_queries0.695192.1766590.0118
Looping result0.00060.0822570.0000
Template Total0.704693.420.3523
Template load0.00300.400920.0015
Template processing0.701693.036120.3508
Template load and register function0.00010.013110.0001
states
state_id_array0.00110.151410.0011
state_identifier_array0.00160.209120.0008
Override
Cache load0.00270.3516200.0001
Sytem overhead
Fetch class attribute can translate value0.00110.152430.0004
Fetch class attribute name0.00220.286250.0004
XML
Image XML parsing0.00140.183130.0005
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00100.1268210.0000
String conversion0.00000.000840.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs