custom content class

Author Message

J. Manuel Velasco

Wednesday 03 December 2008 3:50:11 am

Hello,

I am trying to find information with no success about how to create custom content class for custom content, since it is one of the most powerfull thing I think I could find in ezPublish.

Thanks in advance,
·_- manou

Stéphane Bullier

Wednesday 03 December 2008 12:34:56 pm

Hello,

Here you can find some info about create custom content class :

http://ez.no/developer/articles/how_to_create_ez_publish_forms/creating_a_new_form_class

Also, you have to referred to the doc : http://ez.no/doc/ez_publish/technical_manual/3_6/reference/datatypes

bienvenido

Stéphane

André R.

Wednesday 03 December 2008 12:52:33 pm

You also find doc on more datatypes (and features generally) in newer versions of the doc:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/datatypes

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Piotrek Karaś

Saturday 06 December 2008 11:31:21 pm

And read the entire Concepts and basics chapter of the doc:
http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics

And especially:
http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/content_management/class_attributes

Anything less would be not enough...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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

Main resources:

Total runtime0.6741 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 589.0078152.6094
Module start 'layout' 0.00740.0038 741.617239.4141
Module start 'content' 0.01110.6612 781.0313632.2813
Module end 'content' 0.67240.0017 1,413.312512.1875
Script end 0.6741  1,425.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5222160.0002
Check MTime0.00140.2129160.0001
Mysql Total
Database connection0.00090.138010.0009
Mysqli_queries0.611890.7565640.0096
Looping result0.00070.1043620.0000
Template Total0.638794.720.3194
Template load0.00240.359320.0012
Template processing0.636394.385820.3181
Template load and register function0.00020.033110.0002
states
state_id_array0.00080.123610.0008
state_identifier_array0.00110.164120.0006
Override
Cache load0.00190.2875250.0001
Sytem overhead
Fetch class attribute can translate value0.00060.087140.0001
Fetch class attribute name0.00140.206670.0002
XML
Image XML parsing0.00200.291040.0005
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00130.1890300.0000
String conversion0.00000.001540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs