[TYPO3-english] my ext & spamProtectEmailAddresses
Xavier Perseguers
xavier at typo3.org
Thu Nov 21 09:17:06 CET 2013
Hi Tomek,
>> This is a part of list and single view of fluid template:
>>
>> e-mail: <f:link.email
>> email="{members.email}">{members.email}</f:link.email>
>>
>> regards
>> Tomek
> The result is
>
> e-mail: <a
> href="javascript:linkTo_UnCryptMailto('jxfiql7i+yfkhltphfXhxkzbixofx:yy+mi');">somebody at domain.pl</a>
The documentation of the viewhelper helps you:
/**
* Email link view helper.
* Generates an email link incorporating TYPO3s
spamProtectEmailAddresses-settings.
*
* = Examples
*
* <code title="basic email link">
* <f:link.email email="foo at bar.tld" />
* </code>
* <output>
* <a
href="javascript:linkTo_UnCryptMailto('ocknvq,hqqBdct0vnf');">foo(at)bar.tld</a>
* (depending on your spamProtectEmailAddresses-settings)
* </output>
*
* <code title="Email link with custom linktext">
* <f:link.email email="foo at bar.tld">some custom content</f:link.email>
* </code>
* <output>
* <a href="javascript:linkTo_UnCryptMailto('ocknvq,hqqBdct0vnf');">some
custom content</a>
* </output>
*/
So just write
<f:link.email email="{members.email}" />
Kind regards
--
Xavier Perseguers
Release Manager TYPO3 4.6
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-english
mailing list