Fetch nodes from all sections

Author Message

Eirik Alfstad Johansen

Monday 27 September 2004 6:04:22 am

Hi,

It appears that the fetch template function only fetches nodes from the same section as the parent node or standard section (which I'm not sure). However, i need to fetch the child nodes regardless of section. How can this be done?

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Lazaro Ferreira

Monday 27 September 2004 10:44:48 am

Hi,

It could be a lack of permissions, are you fetching nodes from public sections?, or sections where your user has read permissions ?

I think that EZP 3.4.x setup gives annonymous read permission for Standard Section by default, so you may need to give annonymous read access permission for your custom sections

Lazaro

Lazaro
http://www.mzbusiness.com

Eirik Alfstad Johansen

Tuesday 28 September 2004 4:31:35 am

Thanks for the tip, Lazaro. Not being used to work with sections, it didn't occur to me that permissions might be the problem.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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

Main resources:

Total runtime0.7601 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1563152.6250
Module start 'layout' 0.00550.0029 741.781339.4453
Module start 'content' 0.00840.7497 781.2266528.2969
Module end 'content' 0.75810.0020 1,309.523412.1641
Script end 0.7601  1,321.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4697160.0002
Check MTime0.00160.2065160.0001
Mysql Total
Database connection0.00080.109510.0008
Mysqli_queries0.707393.0421570.0124
Looping result0.00060.0851550.0000
Template Total0.727995.820.3640
Template load0.00250.333620.0013
Template processing0.725495.422320.3627
Template load and register function0.00010.016710.0001
states
state_id_array0.00080.105110.0008
state_identifier_array0.00140.182120.0007
Override
Cache load0.00210.2749150.0001
Sytem overhead
Fetch class attribute can translate value0.00120.151520.0006
Fetch class attribute name0.00220.295940.0006
XML
Image XML parsing0.00090.116020.0004
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00090.1147160.0001
String conversion0.00000.001240.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs