Convert Email to xxx at xxx dot xxx

Author Message

Jorge estévez

Wednesday 22 September 2010 11:02:01 pm

Hello...

How do I make my emails at the site xxx at xxx dot xxx

Thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Yannick Komotir

Thursday 23 September 2010 3:08:14 am

Hi,

1. in template.ini.append.php add/edit WashSettings section

[WashSettings]

EmailDotText= dot 
EmailAtText= at

2. in your template add

{$node.data_map.email.content|wash('email')}

<|- 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 18 2025 02:44:08
Script start
Timing: Jan 18 2025 02:44:08
Module start 'layout'
Timing: Jan 18 2025 02:44:08
Module start 'content'
Timing: Jan 18 2025 02:44:10
Module end 'content'
Timing: Jan 18 2025 02:44:10
Script end

Main resources:

Total runtime1.1043 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.0073 587.9375152.6250
Module start 'layout' 0.00730.0038 740.562539.4453
Module start 'content' 0.01111.0918 780.0078520.5547
Module end 'content' 1.10290.0014 1,300.56258.1563
Script end 1.1043  1,308.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3120160.0002
Check MTime0.00140.1304160.0001
Mysql Total
Database connection0.00210.187110.0021
Mysqli_queries1.057995.7947540.0196
Looping result0.00050.0461520.0000
Template Total1.068096.720.5340
Template load0.00250.223820.0012
Template processing1.065696.488320.5328
Template load and register function0.00020.021610.0002
states
state_id_array0.00190.172010.0019
state_identifier_array0.00120.105320.0006
Override
Cache load0.00210.1876130.0002
Sytem overhead
Fetch class attribute can translate value0.00060.055020.0003
Fetch class attribute name0.00130.118230.0004
XML
Image XML parsing0.00050.047920.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00080.0711160.0000
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs