Forums / Developer / Get current node within an operator / Comment58609
yunxia cai
Tuesday 20 April 2010 7:34:12 pm
Hello!
I have a question.
first:I define the {def $current_node= fetch( content, node, hash( node_id, $current_node_id ) ) }
then if the class is not folder ,I need define the $current_node
if I define again {def $current_node= fetch( 'conten't, 'list', hash( 'parent_node_id', $node.parent_node_id ) ) }
and ,the $current.node.module_result.content_info.object_id is right?
Thanks!