Forums / Setup & design / author without email

"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".

author without email

Author Message

risto CMS user

Monday 06 February 2006 1:02:23 am

hi Im having some problems displaying the author without showing the email.

would someone be so kind and show me how this is done?

{attribute_view_gui attribute=$node.object.data_map.author.name}

Thomas Nunninger

Monday 06 February 2006 2:52:34 am

Hi,

in this case attribute_view_gui calls the template design/standard/templates/content/datatype/view/ezauthor.tpl which contains the following content:

{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{section var=Authors loop=$attribute.content.author_list sequence=array( bglight, bgdark )}
{$Authors.item.name|wash( xhtml )} <{$Authors.item.email|wash( email )}>{delimiter},{/delimiter}
{/section}

So you can create a file design/<your_design>/templates/content/datatype/view/ezauthor.tpl and delete the mail things or put an {if} araound it.

Have a nice day

Thomas

risto CMS user

Monday 06 February 2006 2:56:11 am

:-) thanx this works just perfectly!