images/objects in ezxml-fields - how to avoid inserting a new paragraph

Author Message

frank dege

Friday 31 December 2004 8:01:15 am

has anyone used the <object> tag ez publish 3.5.0 in order to place an image inline?
if i place an object-tag in a paragraph ez publish always places an </p> at the end of the first line. the xml-code looks fine:

 <paragraph>dies ist ein text
    <object id="322"
            size="medium"
            align="center" />mit bild</paragraph> 

ez publish produces following html-code:

<p>
dies ist ein text 
</p>
       
<img src="/projects/...rsaal_medium.jpg" title=".." alt="..." class="imgfloatcenter" />

<p>
mit bild
</p>

how can i avoid this?

frank

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 15:01:16
Script start
Timing: Jan 18 2025 15:01:16
Module start 'layout'
Timing: Jan 18 2025 15:01:16
Module start 'content'
Timing: Jan 18 2025 15:01:17
Module end 'content'
Timing: Jan 18 2025 15:01:17
Script end

Main resources:

Total runtime1.1913 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.5234152.6875
Module start 'layout' 0.00560.0038 742.210939.5234
Module start 'content' 0.00931.1803 781.7344402.8203
Module end 'content' 1.18960.0017 1,184.55478.2188
Script end 1.1913  1,192.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2999160.0002
Check MTime0.00150.1235160.0001
Mysql Total
Database connection0.00080.069210.0008
Mysqli_queries1.149096.4527460.0250
Looping result0.00060.0477440.0000
Template Total1.151796.720.5759
Template load0.00220.180820.0011
Template processing1.149696.495620.5748
Template load and register function0.00020.013810.0002
states
state_id_array0.00370.311910.0037
state_identifier_array0.00160.134520.0008
Override
Cache load0.00170.1452100.0002
Sytem overhead
Fetch class attribute can translate value0.00130.106710.0013
Fetch class attribute name0.00080.071210.0008
XML
Image XML parsing0.00010.009410.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00190.1593100.0002
String conversion0.00000.000840.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs