Forums / Setup & design / getting user_account email

getting user_account email

Author Message

Menno van Drunen

Thursday 22 April 2004 5:17:31 am

Hi I modified the user class and try to display the user E-mail using:

{attribute_view_gui attribute=$node.object.data_map.user_account.content.email}

As I found somewhere on the ez site. However this is not working. Any ideas about what I do wrong?

{attribute_view_gui attribute=$node.object.data_map.phone}

Is working fine.

Rgds,

Menno

Paul Forsyth

Thursday 22 April 2004 5:35:04 am

$node.object.data_map.user_account.content.email isnt an attribute im afraid. $node.object.data_map.user_account is.

you can override 'design/standard/templates/content/datatype/view/ezuser.tpl' to display the user account datatype the way you want or you could just display the email directly. you almost have it:

Try

{$node.object.data_map.user_account.content.email|wash(email)}

paul

--
http://www.visionwt.com