Forums / Setup & design / url in class article

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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