display the value of an attribute having country as datatype

Author Message

justin kazadi

Monday 29 September 2008 12:47:06 am

hello,
i want to know how to displayed the value of an attribute having this datatype? not by using .

{attribute_view_gui attribute =$node.data_map.pays}

if this attribute named pays?

thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Yannick Komotir

Thursday 02 October 2008 3:18:53 am

and the attribute_view_gui don't work ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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

Main resources:

Total runtime0.9659 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.0047 589.4141152.6563
Module start 'layout' 0.00470.0043 742.070339.5078
Module start 'content' 0.00890.9557 781.5781527.4688
Module end 'content' 0.96470.0012 1,309.04698.0938
Script end 0.9659  1,317.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3384160.0002
Check MTime0.00140.1414160.0001
Mysql Total
Database connection0.00080.083510.0008
Mysqli_queries0.920295.2636540.0170
Looping result0.00060.0604520.0000
Template Total0.929596.220.4647
Template load0.00250.259420.0013
Template processing0.926995.964920.4635
Template load and register function0.00010.007710.0001
states
state_id_array0.00110.109010.0011
state_identifier_array0.00130.133620.0006
Override
Cache load0.00210.2160120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.058820.0003
Fetch class attribute name0.00100.106740.0003
XML
Image XML parsing0.00080.087520.0004
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00090.0882220.0000
String conversion0.00000.000840.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs