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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:05:20
Script start
Timing: Jan 18 2025 19:05:20
Module start 'layout'
Timing: Jan 18 2025 19:05:20
Module start 'content'
Timing: Jan 18 2025 19:05:21
Module end 'content'
Timing: Jan 18 2025 19:05:21
Script end

Main resources:

Total runtime0.8755 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0469152.6406
Module start 'layout' 0.00630.0036 740.687539.4766
Module start 'content' 0.00990.8640 780.1641639.5391
Module end 'content' 0.87390.0016 1,419.703112.1250
Script end 0.8755  1,431.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4065160.0002
Check MTime0.00160.1790160.0001
Mysql Total
Database connection0.00120.139410.0012
Mysqli_queries0.815593.1380670.0122
Looping result0.00080.0926650.0000
Template Total0.840196.020.4201
Template load0.00170.191320.0008
Template processing0.838495.763420.4192
Template load and register function0.00010.014410.0001
states
state_id_array0.00070.080010.0007
state_identifier_array0.00070.080120.0004
Override
Cache load0.00140.1591250.0001
Sytem overhead
Fetch class attribute can translate value0.00120.140940.0003
Fetch class attribute name0.00100.113280.0001
XML
Image XML parsing0.00150.174740.0004
class_abstraction
Instantiating content class attribute0.00000.001790.0000
General
dbfile0.00260.3023300.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs