XML block

Author Message

Gintautas S.

Monday 04 August 2008 3:46:58 am

Hello,

How exactly should I edit an attribute of this datatype?

If I put <p>Hello</p> in it, I get back the same output. It is not processed, although <p> tag is supported by default according to tech man.

Now if I copy the formated text from outside source and paste it into the edit text box of this attribute, it is somewhat interpreted. But then stuff like table-based formating is copied aswell and that kinda kills the approch of splitting content and visualization.

Ɓukasz Serwatka

Tuesday 05 August 2008 12:43:35 am

Hi,

Take a look on list of all supported tags. This is what you can use in this kind of filed. http://ez.no/doc/ez_publish/technical_manual/4_0/reference/xml_tags

Input is processed by input handler then stored in DB as XML format which is next processed by output handler and return xhtml to user. This filed has limited tag set.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.7101 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.0050 590.1484152.6094
Module start 'layout' 0.00500.0030 742.757839.3984
Module start 'content' 0.00810.7002 782.1563523.4453
Module end 'content' 0.70820.0018 1,305.60168.2031
Script end 0.7100  1,313.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4547160.0002
Check MTime0.00130.1792160.0001
Mysql Total
Database connection0.00070.101510.0007
Mysqli_queries0.667093.9379540.0124
Looping result0.00050.0637520.0000
Template Total0.681396.020.3407
Template load0.00210.288920.0010
Template processing0.679395.662620.3396
Template load and register function0.00010.017710.0001
states
state_id_array0.00100.134910.0010
state_identifier_array0.00130.176020.0006
Override
Cache load0.00170.2364120.0001
Sytem overhead
Fetch class attribute can translate value0.00070.097320.0003
Fetch class attribute name0.00110.149230.0004
XML
Image XML parsing0.00070.101420.0004
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00160.2202180.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs