Initial commit - Typo3 11.5.41
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
plugin.tx_cookieconsent {
|
||||
view {
|
||||
# cat=plugin.cookieconsent/file; type=string; label=templateRootPath
|
||||
templateRootPath =
|
||||
# cat=plugin.cookieconsent/file; type=string; label=partialRootPath
|
||||
partialRootPath =
|
||||
# cat=plugin.cookieconsent/file; type=string; label=layoutRootPath
|
||||
layoutRootPath =
|
||||
}
|
||||
|
||||
settings {
|
||||
# cat=plugin.cookieconsent; type=int+; label= PID of Cookie Storage
|
||||
storagePid =
|
||||
# cat=plugin.cookieconsent; type=int+; label= PID to Data Protection
|
||||
url =
|
||||
# cat=plugin.cookieconsent; type=string; label= target for link tag
|
||||
target = _blank
|
||||
# cat=plugin.cookieconsent; type=options[edgeless,classic,basic,wire]; label=Layout
|
||||
theme = edgeless
|
||||
# cat=plugin.cookieconsent; type=options[top,top-left,top-right,bottom,bottom-left,bottom-right]; label= Position
|
||||
position = bottom-right
|
||||
# cat=plugin.cookieconsent; type=options[info,opt-out,opt-in]; label = Type
|
||||
type = info
|
||||
# cat=plugin.cookieconsent; type=options[true,false]; label = adds a button to review the consent window
|
||||
revokable = true
|
||||
# cat=plugin.cookieconsent; type=options[true,false]; label = pre check statistics in checkboxes layout
|
||||
statistics = false
|
||||
# cat=plugin.cookieconsent; type=options[true,false]; label = pre check marketing in checkboxes layout
|
||||
marketing = false
|
||||
# cat=plugin.cookieconsent; type=options[true,false]; label = force page reload after revoke
|
||||
reloadOnRevoke = false
|
||||
|
||||
overlay {
|
||||
# cat=plugin.cookieconsent/overlay; type=options[true,false]; label = display iframe overlay
|
||||
notice = true
|
||||
box {
|
||||
# cat=plugin.cookieconsent/overlay; type=color; label= Overlay: Background
|
||||
background = rgba(0,0,0,.8)
|
||||
# cat=plugin.cookieconsent/overlay; type=color; label= Overlay: Text
|
||||
text = #fff
|
||||
}
|
||||
button {
|
||||
# cat=plugin.cookieconsent/overlay; type=color; label= Overlay Button: Background
|
||||
background = #b81839
|
||||
# cat=plugin.cookieconsent/overlay; type=color; label= Overlay Button: Text
|
||||
text = #fff
|
||||
}
|
||||
}
|
||||
|
||||
palette {
|
||||
popup {
|
||||
# cat=plugin.cookieconsent/popup; type=color; label= Bar: Background
|
||||
background = rgba(0,0,0,.8)
|
||||
# cat=plugin.cookieconsent/popup; type=color; label= Bar: Text
|
||||
text = #fff
|
||||
}
|
||||
button {
|
||||
# cat=plugin.cookieconsent/button; type=color; label= Button: Background
|
||||
background = #b81839
|
||||
# cat=plugin.cookieconsent/button; type=color; label= Button: Text
|
||||
text = #fff
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
# ==============================================
|
||||
# FE-Plugin configuration for EXT:dp_cookieconsent
|
||||
# ==============================================
|
||||
|
||||
plugin.tx_dpcookieconsent {
|
||||
view {
|
||||
templateRootPaths {
|
||||
0 = EXT:dp_cookieconsent/Resources/Private/Templates/
|
||||
1 = {$plugin.tx_cookieconsent.view.templateRootPath}
|
||||
}
|
||||
partialRootPaths {
|
||||
0 = EXT:dp_cookieconsent/Resources/Private/Partials/
|
||||
1 = {$plugin.tx_cookieconsent.view.partialRootPath}
|
||||
}
|
||||
layoutRootPaths {
|
||||
0 = EXT:dp_cookieconsent/Resources/Private/Layouts/
|
||||
1 = {$plugin.tx_cookieconsent.view.layoutRootPath}
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
url = {$plugin.tx_cookieconsent.settings.url}
|
||||
target = {$plugin.tx_cookieconsent.settings.target}
|
||||
theme = {$plugin.tx_cookieconsent.settings.theme}
|
||||
position = {$plugin.tx_cookieconsent.settings.position}
|
||||
type = {$plugin.tx_cookieconsent.settings.type}
|
||||
revokable = {$plugin.tx_cookieconsent.settings.revokable}
|
||||
reloadOnRevoke = {$plugin.tx_cookieconsent.settings.reloadOnRevoke}
|
||||
|
||||
checkboxes {
|
||||
statistics = {$plugin.tx_cookieconsent.settings.statistics}
|
||||
marketing = {$plugin.tx_cookieconsent.settings.marketing}
|
||||
}
|
||||
|
||||
overlay {
|
||||
notice = {$plugin.tx_cookieconsent.settings.overlay.notice}
|
||||
box {
|
||||
background = {$plugin.tx_cookieconsent.settings.overlay.box.background}
|
||||
text = {$plugin.tx_cookieconsent.settings.overlay.box.text}
|
||||
}
|
||||
button {
|
||||
background = {$plugin.tx_cookieconsent.settings.overlay.button.background}
|
||||
text = {$plugin.tx_cookieconsent.settings.overlay.button.text}
|
||||
}
|
||||
}
|
||||
|
||||
palette {
|
||||
popup {
|
||||
background = {$plugin.tx_cookieconsent.settings.palette.popup.background}
|
||||
text = {$plugin.tx_cookieconsent.settings.palette.popup.text}
|
||||
}
|
||||
button {
|
||||
background = {$plugin.tx_cookieconsent.settings.palette.button.background}
|
||||
text = {$plugin.tx_cookieconsent.settings.palette.button.text}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
lib.dp_cookieconsent = FLUIDTEMPLATE
|
||||
lib.dp_cookieconsent {
|
||||
file = EXT:dp_cookieconsent/Resources/Private/Layouts/Cookie.html
|
||||
templateName = Cookie
|
||||
|
||||
templateRootPaths < plugin.tx_dpcookieconsent.view.templateRootPaths
|
||||
partialRootPaths < plugin.tx_dpcookieconsent.view.partialRootPaths
|
||||
layoutRootPaths < plugin.tx_dpcookieconsent.view.layoutRootPaths
|
||||
|
||||
settings < plugin.tx_dpcookieconsent.settings
|
||||
|
||||
dataProcessing {
|
||||
10 = DirkPersky\DpCookieconsent\DataProcessing\CookieScriptsProcessor
|
||||
10 {
|
||||
as = dp_cookie_scripts
|
||||
pid = {$plugin.tx_cookieconsent.settings.storagePid}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
page {
|
||||
includeCSS {
|
||||
dp_cookieconsent = EXT:dp_cookieconsent/Resources/Public/css/dp_cookieconsent.css
|
||||
}
|
||||
|
||||
includeJSFooter {
|
||||
dp_cookieconsent = EXT:dp_cookieconsent/Resources/Public/JavaScript/dp_cookieconsent.js
|
||||
}
|
||||
|
||||
headerData {
|
||||
# cs_seo hook
|
||||
657 {
|
||||
# Modify Google Analytics from CS_SEO
|
||||
10 {
|
||||
stdWrap.replacement {
|
||||
10 {
|
||||
search = <script
|
||||
replace = <script data-ignore="1" data-cookieconsent="statistics" type="text/plain"
|
||||
}
|
||||
20 {
|
||||
search = src=
|
||||
replace = data-src=
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
998 = COA
|
||||
998 {
|
||||
# Modify Google Tag-Manager & Piwiki from CS_SEO
|
||||
10 = COA
|
||||
10 {
|
||||
wrap = <script data-ignore="1" data-cookieconsent="statistics" type="text/plain">|</script>
|
||||
required = 1
|
||||
|
||||
10 < page.jsInline.654
|
||||
}
|
||||
}
|
||||
}
|
||||
footerData {
|
||||
998 = COA
|
||||
998 {
|
||||
# Add Consent Config to Script
|
||||
20 < lib.dp_cookieconsent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Remove Original Google Tag-Manager & Piwiki from CS_SEO
|
||||
page.jsInline.654 >
|
||||
Reference in New Issue
Block a user