Skip to content

v10.2.0

Compare
Choose a tag to compare
@DirkPersky DirkPersky released this 11 Dec 10:00
· 233 commits to master since this release

Back on TYPO3 6

#22 add new event dp--cookie-init

#24 #26 Dynamic Checkboxes
With this feature you can add or modify the checkbox types by configuration.
All you have to do is setting your new checkbox in TS and add it to the partial template:

Configuration/TypoScript/setup.txt:

        checkboxes {
            statistics = {$plugin.tx_cookieconsent.settings.statistics}
            marketing = {$plugin.tx_cookieconsent.settings.marketing}
            thirdparty = {$plugin.tx_cookieconsent.settings.thirdparty}
        }

Resources/Private/Partials/CookieSelection.html:

    <label for="dp--cookie-thirdparty">
        <f:form.checkbox id="dp--cookie-thirdparty" class="dp--check-box" checked="{settings.checkboxes.thirdparty}" value="" />
        <f:translate key="dpThirdparty" extensionName="dp_cookieconsent" />
    </label>