From masmoudi_moha at yahoo.fr Thu May 18 23:41:49 2017 From: masmoudi_moha at yahoo.fr (TSniper) Date: Thu, 18 May 2017 23:41:49 +0200 Subject: [TYPO3-mvc] =?utf-8?q?_config=2EremoveDefaultJS_=3D_1?= Message-ID: Hi, I use this typoscript to protect the email address in the website, config.spamProtectEmailAddresses = 2 config.spamProtectEmailAddresses_atSubst = (at) This is working for regular text content, but i have some text data coming from a custom extension that this is not working. The email address are not encrypted, if i put a regular in the same page is working on it. What can i do to fix this ? From me at schreibersebastian.de Thu May 18 23:46:41 2017 From: me at schreibersebastian.de (Sebastian Schreiber) Date: Thu, 18 May 2017 23:46:41 +0200 Subject: [TYPO3-mvc] config.removeDefaultJS = 1 In-Reply-To: References: Message-ID: how do you output the mail address in your custom extension? I guess you are using fluid as your template engine. Am 18.05.17 um 23:41 schrieb TSniper: > Hi, > I use this typoscript to protect the email address in the website, > config.spamProtectEmailAddresses = 2 > > config.spamProtectEmailAddresses_atSubst = (at) > > This is working for regular text content, but i have some text data > coming from a custom extension that this is not working. The email > address are not encrypted, if i put a regular in the same page is > working on it. > > What can i do to fix this ? > _______________________________________________ > TYPO3-project-typo3v4mvc mailing list > TYPO3-project-typo3v4mvc at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc -- Sebastian Schreiber (Medieninformatiker B.Sc.) (TYPO3 Certified Integrator) Paul Nie?en Stra?e 58 D-50969 K?ln T 0221 677 88 541 M 0176 431 05 790 Skype schreibersebastian.de me at schreibersebastian.de www.schreibersebastian.de Steuernummer: 219 / 5302 / 3123 From david.effendi at limeflavour.com Thu May 18 23:54:06 2017 From: david.effendi at limeflavour.com (David Effendi) Date: Thu, 18 May 2017 23:54:06 +0200 Subject: [TYPO3-mvc] =?utf-8?q?_Re=3A_config=2EremoveDefaultJS_=3D_1?= References: Message-ID: Hi TSniper, do you use the html viewHelper? Using this should respect the TS setting https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Format/Html.html If the mail address is a std string (someEmail (at) domain.com) you have to go for the f:email viewhelper https://docs.typo3.org/typo3cms/ExtbaseGuide/Fluid/ViewHelper/Link/Email.html or https://fluidtypo3.org/viewhelpers/fluid/master/Link/EmailViewHelper.html all best D From masmoudi_moha at yahoo.fr Fri May 19 00:08:32 2017 From: masmoudi_moha at yahoo.fr (TSniper) Date: Fri, 19 May 2017 00:08:32 +0200 Subject: [TYPO3-mvc] =?utf-8?q?config=2EremoveDefaultJS_=3D_1?= References: Message-ID: Yes i'm using fluid template, my code is somthing likethis :
{feuser.firstName} {feuser.title} {feuser.telephone} {feuser.email}
From me at schreibersebastian.de Fri May 19 00:12:11 2017 From: me at schreibersebastian.de (Sebastian Schreiber) Date: Fri, 19 May 2017 00:12:11 +0200 Subject: [TYPO3-mvc] config.removeDefaultJS = 1 In-Reply-To: References: Message-ID: like david said. You have to use the email viewhelper. instead of just render the mail as it is. Am 19.05.17 um 00:08 schrieb TSniper: > Yes i'm using fluid template, my code is somthing likethis : > > > > > > > > > > > > > > > > > > >
arguments="{feuserId:feuser.uid}"> > {feuser.firstName} > {feuser.title}{feuser.telephone}{feuser.email}
> >
> > _______________________________________________ > TYPO3-project-typo3v4mvc mailing list > TYPO3-project-typo3v4mvc at lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc -- Sebastian Schreiber (Medieninformatiker B.Sc.) (TYPO3 Certified Integrator) Paul Nie?en Stra?e 58 D-50969 K?ln T 0221 677 88 541 M 0176 431 05 790 Skype schreibersebastian.de me at schreibersebastian.de www.schreibersebastian.de Steuernummer: 219 / 5302 / 3123 From masmoudi_moha at yahoo.fr Fri May 19 00:19:23 2017 From: masmoudi_moha at yahoo.fr (TSniper) Date: Fri, 19 May 2017 00:19:23 +0200 Subject: [TYPO3-mvc] =?utf-8?q?_Re=3A_config=2EremoveDefaultJS_=3D_1?= References: Message-ID: Thank you guys, yes the Email viewhelper really fix this issue.