Forums / Setup & design / url in class article

url in class article

Author Message

Ene Rammer Nielsen

Tuesday 10 July 2007 1:24:43 am

Hi,
I would like to make a link, looking something like this: http://www.test.dk/ret/ret.php?email=$current_user.email in an instans of my article class.

Is it possible to get the email address of the user who is currently logged in here or is it only possible in a template?

Hope somebody can help me.

André R.

Tuesday 10 July 2007 1:51:28 am

only possible in a template, and you'll have to fetch the current user if you want to use that in a node template.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom