Forums / Developer / Fetch nodes from all sections

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/