Wednesday 29 July 2009 4:22:41 am - 5 replies

» Read full tutorial

Introduction

Content in eZ Publish is stored in attributes of content objects. A datatype describes the type of value that can be stored in an attribute and is the smallest possible entity of storage. It determines how a specific type of information should be validated, stored and retrieved. eZ Publish comes with a set of datatypes for, among other things, plain text, formatted text, images, email addresses and dates. This article explains how to create additional datatypes in eZ Publish 4, and explores how to take advantage of some of the new eZ Publish 4 features.

Author Message

Denis Jonny

Thursday 25 February 2010 12:44:48 am

thanks for provide this helpful information.

BTW, if you have interest in these topics,
loan problems,how to lose weight fast?
best travel agency and baby care ?

Welcome to my blog.

David Silvester

Friday 09 July 2010 2:01:35 am

Do you have new updated version since 2007 or is it still the same ?

http://www.marketingmaximum.com/ourservices/guaranteedseo

Christoph von Siebenthal

Thursday 17 February 2011 10:41:25 pm

Many thanks

Seems to be great, but were habe the source files gone?

Nicolas Pastorino

Sunday 20 February 2011 3:46:51 am

"

Seems to be great, but were habe the source files gone?

"

I would suggest to get in touch with the initial author, and ask the question. You can do so using the Direct Contact link from Thomas' profile : http://share.ez.no/community/profile/11587

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Sao Tavi

Saturday 04 June 2011 6:40:15 am

Good enough tutorial, I managed to create my own datatype following this and some standard datatype as example.

 

On the other hand, I would be interested in exactly this datatype, date/time with timezone information, but I cannot find the source code. Does anyone know where it could be?

You must be logged in to post messages in this topic!

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 02:00:58
Script start
Timing: Jan 18 2025 02:00:58
Module start 'layout'
Timing: Jan 18 2025 02:00:58
Module start 'content'
Timing: Jan 18 2025 02:00:58
Module end 'content'
Timing: Jan 18 2025 02:00:58
Script end

Main resources:

Total runtime0.2178 sec
Peak memory usage4,096.0000 KB
Database Queries83

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.0547152.6250
Module start 'layout' 0.00670.0041 741.679739.4453
Module start 'content' 0.01080.2053 781.1250831.6328
Module end 'content' 0.21610.0016 1,612.757822.3984
Script end 0.2177  1,635.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00442.0080160.0003
Check MTime0.00210.9669160.0001
Mysql Total
Database connection0.00080.368310.0008
Mysqli_queries0.133461.2444830.0016
Looping result0.00090.4123810.0000
Template Total0.179982.620.0900
Template load0.00221.030520.0011
Template processing0.177781.595220.0888
Template load and register function0.00020.076210.0002
states
state_id_array0.00160.746220.0008
state_identifier_array0.00180.829430.0006
Override
Cache load0.00200.9009310.0001
Sytem overhead
Fetch class attribute name0.00140.626080.0002
Fetch class attribute can translate value0.00090.431450.0002
class_abstraction
Instantiating content class attribute0.00000.005980.0000
XML
Image XML parsing0.00371.700050.0007
General
dbfile0.00301.3811220.0001
String conversion0.00000.004740.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.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs