Code Monkey home page Code Monkey logo

cs_powermail_gdpr's Introduction

[clickstorm] GDPR powermail checkbox

This extension extends each powermail form with a checkbox. This checkbox is placed before each submit button and linked to your privacy policy. The user has to accept your privacy policy to submit a form. The validation is also done by the server. The value is stored in the database. You can disable this checkbox for each form individually.

Feel free to test and give feedback.

configuration

Privacy Pid

Set your privacy policy page with a TypoScript constant.

plugin.tx_powermail.settings.privacyPid =

Override language labels

You can override the language labels via TypoScript

plugin.tx_powermail._LOCAL_LANG.en.tx_cspowermailgdpr.checkbox.label = I accept the ###privacy policy###.

or in an extra locallang file

$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:powermail/Resources/Private/Language/locallang.xlf'][10] = 
    'EXT:myext/Resources/Private/Language/locallang.xlf';

There you can override tx_cspowermailgdpr.checkbox.label. ### will be replaces by the link, e.g.:

I accept the ###privacy policy###.

becomes

I accept the <a href="privacypolicy" target="_blank" title="Show privacy policy">privacy policy</a>.

cs_powermail_gdpr's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.