Share » Forums » Developer » Current user is logged?

Current user is logged?

Current user is logged?

Sunday 23 January 2011 12:03:47 pm - 2 replies

Modified on Sunday 23 January 2011 12:05:30 pm by David Santiso

Author Message

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

David Santiso

Monday 24 January 2011 11:30:21 am

Thank you very much.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu