Share » Forums » General » Fetch problem... Depth...

Fetch problem... Depth...

Fetch problem... Depth...

Thursday 18 May 2006 3:59:08 am - 3 replies

Author Message

Łukasz Serwatka

Thursday 18 May 2006 4:12:05 am

Depth parameter does not work with "list", try with "tree". List fetched objects till depth 1.

http://ez.no/doc/ez_publish/technical_manual/3_7/reference/modules/content/fetch_functions/tree

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Nebojsa Eric

Thursday 18 May 2006 4:47:29 am

Thank you Lukasz. Tree works.

I`m trying this with list and tree since morning and I finally found what is wrong.

Can`t use .... fetch( content, tree, hash
(parent_node_id...

Syntax must be .... fetch( content, tree, hash(parent_node_id...

"hash" and "(" should be together. Otherwise, not working. There was a problem. :)

Łukasz Serwatka

Thursday 18 May 2006 4:59:22 am

Good to see that works. Always keep debug output enabled when you changing templates. You will save a lot of time ;)

Cheers,
Luke

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu