Datatype

Author Message

Mahesh Arvind

Monday 28 February 2005 12:06:47 am

Hi,
I have created a new datatype for different languages in Ez Publish 3.2.4. I have upgraded to Ez Publish 3.5 now. The datatype does not work now. I am not able to fetch the selected value. Are user defined datatypes handled differently in Ez Publish 3.5 or if not how do I get the value of the datatype.

Thanks
Mahesh

Thanks & Regards
Mahesh

Björn Dieding@xrow.de

Monday 28 February 2005 6:33:03 pm

Please referr to the current datatypes in 3.5 ... It might be the case that your datatype does not work anymore due a lack of a feature.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Mahesh Arvind

Tuesday 01 March 2005 12:49:27 am

Hi Bjorn,

It seems that there is no problem with the old datatype. But, I have used the following code to fetch it
{Child:item.data_map.resource_language.data_text}

But, this does not return anything. How do I fetch the content of this attribute?

Thanks & Regards
Mahesh

Gabriel Ambuehl

Tuesday 01 March 2005 1:34:41 am

Try
$Child:item[...]
or even just
$:item[...]

Visit http://triligon.org

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

Main resources:

Total runtime1.1232 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.7891152.6094
Module start 'layout' 0.00610.0030 740.398439.3906
Module start 'content' 0.00911.1127 779.7891586.6875
Module end 'content' 1.12180.0014 1,366.476612.2031
Script end 1.1232  1,378.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4031160.0003
Check MTime0.00180.1608160.0001
Mysql Total
Database connection0.00060.054310.0006
Mysqli_queries1.067195.0094620.0172
Looping result0.00060.0565600.0000
Template Total1.091397.220.5457
Template load0.00210.188920.0011
Template processing1.089296.971020.5446
Template load and register function0.00010.009010.0001
states
state_id_array0.00130.114710.0013
state_identifier_array0.00140.125820.0007
Override
Cache load0.00180.1628220.0001
Sytem overhead
Fetch class attribute can translate value0.00140.124630.0005
Fetch class attribute name0.00200.179260.0003
XML
Image XML parsing0.00140.124630.0005
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00090.0841220.0000
String conversion0.00000.001940.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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