textblock versus xmlblock

Author Message

risto CMS user

Thursday 29 June 2006 12:35:53 am

Can someone explain what the difference is?
In practical use?

I cant seem to find anything about this issue.

Damien Pobel

Thursday 29 June 2006 8:48:19 am

Text block is used when you have to store only plain text. You can use some simple tags to format text (like in this forum)

XML Block is used when you have to store formated text using the Online Editor (which is now licenced under GPL) or SJSD (see Contribution section)

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Lazaro Ferreira

Thursday 29 June 2006 9:48:55 am

Hi,

A practical use is storing content to be displayed on mobile devices

Using a XHTML block you can store content suitable for mobile devices, you can also create custom tags , for WAP Devices

Lazaro
http://www.mzbusiness.com

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 31 2025 00:36:53
Script start
Timing: Jan 31 2025 00:36:53
Module start 'layout'
Timing: Jan 31 2025 00:36:53
Module start 'content'
Timing: Jan 31 2025 00:36:53
Module end 'content'
Timing: Jan 31 2025 00:36:53
Script end

Main resources:

Total runtime0.0304 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.1406151.2109
Module start 'layout' 0.00820.0046 739.3516220.6875
Module start 'content' 0.01280.0156 960.0391997.7891
Module end 'content' 0.02840.0020 1,957.828133.9922
Script end 0.0303  1,991.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00309.7221140.0002
Check MTime0.00113.5221140.0001
Mysql Total
Database connection0.00154.842210.0015
Mysqli_queries0.003712.265730.0012
Looping result0.00000.052610.0000
Template Total0.00154.810.0015
Template load0.00113.511110.0011
Template processing0.00041.281610.0004
Override
Cache load0.00072.144710.0007
General
dbfile0.00103.367480.0001
String conversion0.00000.020440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs