user[at]home[dot]com

Author Message

Valentin Svelland

Monday 21 July 2003 5:16:55 am

Is there a trick to get emailadresses to display properly? Now it's displayed as user[at]home[dot]com.. It's clickable and the mailto: works fine, but it's not displayed with @ and regulad dots '.'.

Another user also posted this question under /developer earlier, but got not feedback..

Bjørn Kaarstein

Monday 21 July 2003 5:36:26 am

You could try this...

In your site.ini.append.php, change

[TemplateSettings]
Debug=disabled

to

[TemplateSettings]
Debug=enabled

Find out which template is used (probably a standard-template).
Copy this to your corresponding override folder, and alter the template to suite your needs.

Regards Bjørn

Valentin Svelland

Monday 21 July 2003 5:47:37 am

Thanks again Bjørn, the debugging worked out:

To others with the same problem, turn on debug as described in previous messagen in this thread - in my case the file called was : design/standard/override/templates/content/datatype/view/ezauthor.tpl

I copied this to my designs corresponding folder and modified the last {$Author:item.email|wash(mail)} to {$Author:item.email|wash(xhtml)}. Voila!

End result:

{section name=Author loop=$attribute.content.author_list sequence=array(bglight,bgdark) }
{$Author:item.name|wash(xhtml)} - ( <a href="mailto:{$Author:item.email|wash(xhtml)}">{$Author:item.email|wash(xhtml)}</a> )

{delimiter}
,
{/delimiter}
{/section}

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:16:16
Script start
Timing: Jan 31 2025 04:16:16
Module start 'layout'
Timing: Jan 31 2025 04:16:16
Module start 'content'
Timing: Jan 31 2025 04:16:16
Module end 'content'
Timing: Jan 31 2025 04:16:16
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.0042 588.1250151.2109
Module start 'layout' 0.00420.0024 739.335936.6484
Module start 'content' 0.00660.0054 775.984490.1250
Module end 'content' 0.01200.0016 866.109433.9922
Script end 0.0136  900.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002115.3255140.0001
Check MTime0.00107.2696140.0001
Mysql Total
Database connection0.00075.348410.0007
Mysqli_queries0.002216.174830.0007
Looping result0.00000.168110.0000
Template Total0.00129.010.0012
Template load0.00107.471010.0010
Template processing0.00021.535910.0002
Override
Cache load0.00085.649610.0008
General
dbfile0.001511.311580.0002
String conversion0.00000.061340.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