|
[GLOBAL] |
|
################################ |
|
### CookieConsent init START ### |
|
### This is typoscript for the setup of your TYPO3 |
|
### (It is not a typescript, you can't include it as a JavaScript) |
|
### Languages: |
|
### Defalt 0 -> DE |
|
### English 1 -> EN |
|
### Have a look for your headerData, you'll need 281, 282 and 283 |
|
### If there is somthin else, change it (1281, 1282 and 1283) |
|
### JPDesign Dirk Jüttner |
|
################################ |
|
### Documentation: https://github.com/insites/cookieconsent |
|
################################ |
|
|
|
# Band color is #0055a3 |
|
page.headerData.281 = TEXT |
|
page.headerData.281.value ( |
|
<style type="text/css"> |
|
html .cc_container .cc_btn {padding:8px;} |
|
html .cc_container .cc_btn, html .cc_container .cc_btn:visited {border-radius:0;-webkit-border-radius:0;color:#fff;background-color:#0055a3;} |
|
html .cc_container .cc_btn:hover, html .cc_container .cc_btn:active {color:#333333;background-color:#e6e6e6;border-color:#adadad;} |
|
html .cc_container a, html .cc_container a:visited {color:#0055a3;} |
|
</style> |
|
|
|
) |
|
|
|
# DE L=0 default Language |
|
## Dont forget to change your link: index.php?id=42#c42 |
|
## theme: "light-bottom" |
|
page.headerData.282 = TEXT |
|
page.headerData.282.value ( |
|
|
|
<script type="text/javascript"> |
|
// CookieConsent init DE |
|
window.cookieconsent_options = {"message":"Durch die weitere Nutzung unserer Webseite stimmen Sie der Verwendung von Cookies zu.","dismiss":"Ok","learnMore":"Mehr Informationen","link":"index.php?id=42#c42","theme":"light-bottom"}; |
|
</script> |
|
|
|
) |
|
|
|
# EN L=1 english |
|
## Dont forget to change your link: index.php?id=42&L=1 |
|
## theme: "light-bottom" |
|
[globalVar = GP:L=1] |
|
page.headerData.282 = TEXT |
|
page.headerData.282.value ( |
|
|
|
<script type="text/javascript"> |
|
// CookieConsent init EN |
|
window.cookieconsent_options = {"message":"By using our website, you agree to the use of cookies.","dismiss":"Ok","learnMore":"More information","link":"index.php?id=42&L=1","theme":"light-bottom"}; |
|
</script> |
|
|
|
) |
|
[GLOBAL] |
|
|
|
# include the script |
|
page.headerData.283 = TEXT |
|
page.headerData.283.value ( |
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script> |
|
|
|
) |
|
############################### |
|
### CookieConsent init STOP ### |
|
############################### |