email as attribute-type in a class

Author Message

Tor Olav Steinsvoll

Friday 01 August 2003 6:16:38 am

Hi. Now I give up here. I have an attribute in one of my classes that is of the type email. I try to get the information out of this attribute up in one of my lists and I can't find the code to show the information. I get blank all the way.

I use this code now:

{$elements:item.data_map.email.content}

$elements is the name of the loop. email is the name of the attribute.

Can somebody help me out here?

Regards from Tor Olav

Bjørn Kaarstein

Sunday 03 August 2003 11:38:54 pm

Try {$elements:item|attribute(show)}

Regards Bjørn

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 31 2025 04:15:21
Script start
Timing: Jan 31 2025 04:15:21
Module start 'layout'
Timing: Jan 31 2025 04:15:21
Module start 'content'
Timing: Jan 31 2025 04:15:21
Module end 'content'
Timing: Jan 31 2025 04:15:21
Script end

Main resources:

Total runtime0.0136 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2344151.2109
Module start 'layout' 0.00500.0022 739.445336.6484
Module start 'content' 0.00720.0051 776.093889.9531
Module end 'content' 0.01230.0013 866.046929.9922
Script end 0.0136  896.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002014.9006140.0001
Check MTime0.00096.8379140.0001
Mysql Total
Database connection0.00085.908810.0008
Mysqli_queries0.002216.062430.0007
Looping result0.00000.080510.0000
Template Total0.00107.610.0010
Template load0.00085.915810.0008
Template processing0.00021.615010.0002
Override
Cache load0.00053.634210.0005
General
dbfile0.00096.860780.0001
String conversion0.00000.042040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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