Since powermail 6.0. it's possible to add a link in a checkbox label (for GDPR) as per the docu:
https://docs.typo3.org/typo3cms/extensions/powermail/ForAdministrators/Privacy/Index.html#add-a-link-in-a-checkbox-label.
It says:
Just use an option in your FlexForm like (with an example link to page 123 where the privacy terms are located):
I accept the <f:link.page pageUid="123">privacy terms</f:link.page> | privacy terms accepted
After that you have to enable html in labels (this feature is turned off for security reasons). Example TypoScript constants:
plugin.tx_powermail.settings.misc.htmlForLabels = 1
... yet it also says that '(this feature is turned off for security reasons)'.
What other options are there to accomplish this? (with no security loss?)
We add a normal content element with the link above the checkbox. For example to accept the terms and conditions. Then the content element is included in the form. See https://docs.typo3.org/typo3cms/extensions/powermail/ForEditors/AddANewForm/FieldContentElement/Index.html
You can enable it in:
Template - > Constant Editor - > Powermail_Aditional - > Allow html in html fields/ Allow html in field labels
Then you can use HTML-Code. Or better:
<f:link.page pageUid="123">Privacy Policy</f:link.page>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With