[TYPO3-english] my ext & spamProtectEmailAddresses

Tomasz Krawczyk tomkrawc at gmail.com
Thu Nov 21 09:33:18 CET 2013


W dniu 2013-11-21 09:17, Xavier Perseguers pisze:
> Hi Tomek,
>
> 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

Thanks!


More information about the TYPO3-english mailing list