Monday 03 July 2006 12:04:52 pm
According to http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list you can use the "main_node_only" parameter with fetch to only bring back nodes whose main location is the node you're using as parent_node_id. For example, if you had this content structure:
|-Folder 1
|----Article A (main location)
|----Article B (main location)
|
|-Folder 2
|----Article C (main location) |----Article A (<i>reference</i> location) etc. Setting main_node_only to true and specifying Folder 2 as my parent_node_id will bring back only Article C. The same fetch with main_node_only set to false will bring back Article C and Article A. What I'm looking for is a way to do this fetch to <b>only</b> pull back Article A (and all other content with a non-main location under Folder 2) when the parent node == Folder 2. Any ideas? Thanks in advance.
http://www.mindshare.net
|