Using the <object> tag makes new paragraph.

Author Message

Kai Duebbert

Wednesday 24 September 2003 10:28:57 pm

Hi,

I want to include an object in one sentence like this:

"You can find more information in <object id="1" />."

But it breaks the sentence because it seems a new paragraph starts, when an object tag is there (Bug?).

Any suggestions how I can make this work?

Thanks,
Kai

Masamune

Sunday 24 April 2005 5:52:33 am

yes it brakes because the object template uses the html <p> tag, u can override the content/datatype/view/ezxmltags/object.tpl and change the <p> to html <span> tag..
good luck...aha

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

Main resources:

Total runtime0.8015 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.0469152.6406
Module start 'layout' 0.00610.0031 740.687539.4766
Module start 'content' 0.00920.7909 780.1641491.1953
Module end 'content' 0.80000.0014 1,271.35948.1250
Script end 0.8015  1,279.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4343160.0002
Check MTime0.00140.1779160.0001
Mysql Total
Database connection0.00080.105810.0008
Mysqli_queries0.755894.3017540.0140
Looping result0.00050.0678520.0000
Template Total0.762295.120.3811
Template load0.00240.296620.0012
Template processing0.759894.793320.3799
Template load and register function0.00020.027610.0002
states
state_id_array0.00110.141110.0011
state_identifier_array0.00140.176920.0007
Override
Cache load0.00190.2385140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.075220.0003
Fetch class attribute name0.00160.200730.0005
XML
Image XML parsing0.00070.092220.0004
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00090.1174160.0001
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs