Share » Forums » Setup & design » Which templete for email datatype?

Which templete for email datatype?

Which templete for email datatype?

Friday 18 March 2005 3:38:03 am - 3 replies

Author Message

Łukasz Serwatka

Sunday 20 March 2005 10:03:11 pm

Hi Daniele,

Spam filter you can change in template.ini file. If you want to disable it, remove |wash( email ). To view e-mail address with mailto: use

{$node.object.data_map.email.data_text|wash( email )|autolink()}

I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Jonny Bergkvist

Monday 25 April 2005 4:56:10 am

Hi Lukasz,

I cannot get

{$node.object.data_map.email.data_text|wash( email )|autolink()}

to work. The text doesn't get linked, because of the wash(email)-operator that spam-protects the emailaddress.

If I do

{$node.object.data_map.email.data_text|autolink()|wash( email )}

then it gets linked, but the mailto:-link is like this:
mailto:user<span class="spamfilter">SPAMFILTER</span>@domain.com

( I have the spamfilter class in my css with display:none )

<b>So, how can I make a spamprotected mailto:-link?</b>

Łukasz Serwatka

Monday 25 April 2005 5:09:54 am

Hi Jonny,

You can change default spam filter in template.ini file. You can set @ like _AT_ so your link will be mailto:user_AT_domain.com

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu