Forums / Developer / $node not available when viewCaching is enabled? / Comment38248
Paul Forsyth
Monday 29 September 2003 3:03:28 pm
Remember that node_id is just a number. Take a look at this article:
http://ez.no/content/view/full/32420
so to get your node you still need to fetch it:
{let my_node=fetch(content,node,hash(node_id, $module_result.node_id))}
Now you can use it as you expect:
{$my_node.object.published|l10n(datetime)}
Paul