Forums / Setup & design / how to replace $node?

how to replace $node?

Author Message

Red Bullbone

Tuesday 22 July 2003 7:06:06 am

I had a related question:

http://ez.no/content/view/full/30606/

but this brougth me to the next question:

when there is no $node-variable how I have to handle the statements in the tutorial. like this:

{attribute_view_gui attribute=$node.object.data_map.image}

I tried it like this:

{let this_node = fetch( 'content', 'node', hash(node_id, $DesignKeys:used.node))}
{attribute_view_gui attribute=$this_node.object.data_map.image}

but without success.
any help would be appreciated