plugin.tx_cookieconsent {
view {
# cat=plugin.cookieconsent/file; type=string; label=templateRootPath
templateRootPath = fileadmin/templates/dp_cookieconsent/Resources/Private/Templates/
# cat=plugin.cookieconsent/file; type=string; label=partialRootPath
partialRootPath = fileadmin/templates/dp_cookieconsent/Resources/Private/Partials/
# cat=plugin.cookieconsent/file; type=string; label=layoutRootPath
layoutRootPath = fileadmin/templates/dp_cookieconsent/Resources/Private/Layouts/
}
}
# CONSTANTS:
# id of data privacy policy page:
plugin.tx_cookieconsent.settings.url = 10
plugin.tx_cookieconsent.settings.layout = dpextend
plugin.tx_cookieconsent.settings.overlay.notice = true
plugin.tx_cookieconsent.settings.position = bottom
# pre check statistics in checkboxes layout:
plugin.tx_cookieconsent.settings.statistics = true
plugin.tx_cookieconsent.settings.overlay.box.background= rgba(255,255,255,0.8)
# Farben Cookie-Banner:
plugin.tx_cookieconsent.settings.palette.popup.background = rgba(255,255,255,0.95)
plugin.tx_cookieconsent.settings.palette.popup.text = #4d4643
plugin.tx_cookieconsent.settings.palette.button.background = #3DA435
# Farben Overlay, z.B. über Map:
plugin.tx_cookieconsent.settings.overlay.box.background= rgba(255,255,255,0.8)
plugin.tx_cookieconsent.settings.overlay.button.background = #3DA435
plugin.tx_cookieconsent.settings.overlay.box.text =
# Neu laden, wenn Zustimmung widerrufen:
plugin.tx_cookieconsent.settings.reloadOnRevoke = true
<script data-ignore="1" data-cookieconsent="statistics" type="text/plain">
// code executed after user accepts 'statistics'
</script>
<script data-ignore="1" data-cookieconsent="statistics" type="text/plain" data-src="{YOUR_LINK_TO_JS}"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async data-ignore="1" data-cookieconsent="statistics" data-src="https://www.googletagmanager.com/gtag/js?id=UA-178037175-1"></script>
<script data-ignore="1" data-cookieconsent="statistics" type="text/plain">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-178037175-1');
</script>
<a href="javascript:window.DPCookieConsent.popup.open();">Cookies</a>