Fetching Nodes

Author Message

Carlos Revillo

Thursday 10 November 2005 10:00:29 am

Hi again. Now i've got a folder and subfolders with articles inside them.
It looks like
Main Node
Folder 1
SubFolder 1.1
Article 1
SubFolder 1.2
Article 2
Folder 2
Article 3

Is there any quick way to fetch all articles inside Main Node? Thanks a lot

Ɓukasz Serwatka

Tuesday 15 November 2005 11:47:50 pm

Yes, read about "tree" template function.
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/tree

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

Main resources:

Total runtime0.7491 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.8984152.6094
Module start 'layout' 0.00640.0034 741.507839.3984
Module start 'content' 0.00980.7380 780.9063524.6172
Module end 'content' 0.74770.0013 1,305.52348.3594
Script end 0.7491  1,313.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4990160.0002
Check MTime0.00140.1833160.0001
Mysql Total
Database connection0.00110.147810.0011
Mysqli_queries0.702893.8194540.0130
Looping result0.00060.0836520.0000
Template Total0.715195.520.3575
Template load0.00200.266320.0010
Template processing0.713195.191820.3565
Template load and register function0.00030.037510.0003
states
state_id_array0.00100.129310.0010
state_identifier_array0.00100.133920.0005
Override
Cache load0.00160.2152180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.097120.0004
Fetch class attribute name0.00140.187830.0005
XML
Image XML parsing0.00090.120720.0005
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00080.1117180.0000
String conversion0.00010.013440.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/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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs