Monday 06 February 2006 10:02:23 am - 2 replies
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}
Modified on Monday 06 February 2006 10:03:08 am by risto CMS user
Monday 06 February 2006 11: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
You must be logged in to post messages in this topic!