Forums / Developer / node id in custom template

node id in custom template

Author Message

Pascal Specht

Thursday 24 July 2008 9:21:28 am

Hi there,

I've written a template for a content class. I would like to know within the template which node it actually is rendering...
I tried {$node} , but obviously, this variable isn't set.

Is there a way for a template to tell which node it is rendering ?

Thanks in advance,
</pascal>

Pascal Specht

Thursday 24 July 2008 9:39:41 am

{$DesignKeys:used|attribute(show)}

solved my problem.