Forums / Developer / Why is eZ outputting paragraph tag instead of p?

Why is eZ outputting paragraph tag instead of p?

Author Message

Alex Jones

Monday 21 July 2003 9:09:15 am

For some reason my templates are spitting out the 'paragraph' tag instead of a simple 'p' tag for an XML Text Field. I have double-checked paragraph.tpl in design/standard/templates/content/datatype/view/ezxmltags but it shows that it is using 'p' tags, which is what I want.

Is there some other place I should edit?

Alex

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

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

Bård Farstad

Monday 21 July 2003 11:04:24 am

Check that you use the rendered version of the content and not the raw XML which can be accessed from the data_text attribute.

--bård

Documentation: http://ez.no/doc

Alex Jones

Monday 21 July 2003 11:52:19 am

Ahh of course! You had recommended that in another thread regarding the same issue. I just hadn't implemented it yet.

Thank you very much!

Alex

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

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

Kjartan Lerøy

Thursday 16 November 2006 5:07:10 am

Hi, Im having the same problem here, but I`m still a little new to EZ. how can I implement this, to make sure the correct version of the content is rendered?

Any help is appreciated,
- Kjartan

André R.

Thursday 16 November 2006 5:49:09 am

Use attribute_view_gui to make eZ process the data thru the default datatype templates.
like:
{attribute_view_gui attribute=$node.object.data_map.category}

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