Wednesday 14 May 2008 7:58:43 am
I want to fetch all users registered in ezpublish (all users from all user groups). Here is the tree of the user group :
Users
|_ Guest Accounts
|_ Administrator Users
|_ Editors |_ Anonymous Users The node <Users> has ID 5. So, according to the documentation about fetching content, I could write :
{def $nodes=fetch ( 'content', 'list', hash( 'parent_node_id', 5 ) ) }
{foreach $nodes as $node}
{$node.name|wash}
{/foreach}
But nothing appears... I try to change the parent_node_id by the node_id of the root node of the website and the fetch works. Why I can't fetch the node of Users ? (I have currently users in Administrator Users)
|