Forums / Developer / Current user is logged? / Comment65253
Sylvain Guittard
Sunday 23 January 2011 1:04:36 pm
Hi David,
In the template that show the content of a node, you must use this code:
{def $current_user=fetch( 'user', 'current_user' )}
And then, you can use your code...
Sylvain
http://www.vignevin-epicure.com http://twitter.com/vignevinEPIcure