Forums / Developer / Displaying 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".

Displaying Article

Author Message

Muhammad Khalid Majeed

Sunday 25 April 2004 11:24:20 pm

When i display the article information using {attribute_view_gui attribute=$NewRe:item.object.data_map.intro} or {attribute_view_gui attribute=$NewRe:item.object.data_map.body} It insert the <p> tag. But i don't want to insert it. Is there any way that i can stop it...?

Muhammad Khalid
Software Engineer
www.webgurru.net

Dominik Pich

Monday 26 April 2004 2:34:22 am

You could try:
{$node.data_map.author.content.output.output_text}
OR
put a div around the p to apply stylesheets

Alex Jones

Monday 26 April 2004 6:49:37 am

You can also override the template used to display the text.

Template Overrides Documentation: http://ez.no/ez_publish/documentation/customization/custom_design/override_templates

Also, if you are going to use something along the lines of <i>{$node.data_map.author.content.output.output_text}</i> keep in mind that you only need to append <i>.output.output_text</i> if it is an XML Text Field. If it is just a Text Field it would be <i>{$node.data_map.author.content}</i>

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>