Sunday 17 June 2007 7:09:56 am
Hi, I modified user class to be container. Then created a new content class which will live under the user. Then i created content with no problems. The problem starts when i try to recover that nodes under the user. Using code like
{def $usuario=fetch('user','current_user')}
{def $nodes_list=fetch('content','list',hash('parent_node_id', $usuario.contentobject.main_node_id))}
doesn´t work. Returns an empty array. But if i manually fetch one of the nodes under $usuario with something like
{def $nodes_list=fetch('content','list',hash('parent_node_id', 113))}
It returns the node with no problems. Also tried the code from the admin siteacces (copy / paste) with the same results. Is this a bug? Is there any way to fetch all nodes under a user?? Thanks
|