Forums / Developer / display the value of an attribute having country as datatype

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

eZ debug

Timing: Jan 20 2025 08:54:33
Script start
Timing: Jan 20 2025 08:54:33
Module start 'content'
Timing: Jan 20 2025 08:54:33
Module end 'content'
Timing: Jan 20 2025 08:54:33
Script end

Main resources:

Total runtime0.0209 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.4141180.7969
Module start 'content' 0.00640.0072 770.210994.1016
Module end 'content' 0.01360.0072 864.312570.7031
Script end 0.0208  935.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.3356120.0002
Check MTime0.00115.0374120.0001
Mysql Total
Database connection0.00073.287210.0007
Mysqli_queries0.002411.317440.0006
Looping result0.00000.081020.0000
Template Total0.006932.810.0069
Template load0.00083.642010.0008
Template processing0.006129.172610.0061
Override
Cache load0.00052.521610.0005
General
dbfile0.005827.9700100.0006
String conversion0.00000.022830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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