Sunday 16 October 2005 3:05:47 am
Hi:
you have to fetch the current user like this:
{let current_user=fetch('user','current_user')} <h1>User articles</h1>
{* Grab some of the content of the node that is being viewed. *}
{let children=fetch( content, list, hash( parent_node_id, $node.node_id,
attribute_filter, array( array( 'owner', '=', $current_user.contentobject_id ) )) )}
{* LOOP: For each child of the node... *} {section name=Child loop=$children}
{* Display the content of the child using a line-view template. *} {node_view_gui view=line content_node=$Child:item} <hr>
{* End of loop. *} {/section}
{* End of namespace. *}
{/let} {/let}{*fetch user*}
|