DirkPersky / typo3-dp_cookieconsent

TYPO3 Extension: Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)
GNU Affero General Public License v3.0
32 stars 27 forks source link

includeJSFooter (dp_cookieconsent.js is not included) #30

Closed whiteroom closed 4 years ago

whiteroom commented 4 years ago

dp_cookieconsent.js might fail to include with given version parameter

affects Configuration > TypoScript > setup.txt TYPO3 CMS Version 9.5.13 PHP 7.2.23

Solution: Leave away version when including JS in footer

Change includeJSFooter { dp_cookieconsent = EXT:dp_cookieconsent/Resources/Public/JavaScript/dp_cookieconsent.js?v=10.2.0 }

to proposed: includeJSFooter { dp_cookieconsent = EXT:dp_cookieconsent/Resources/Public/JavaScript/dp_cookieconsent.js }

DirkPersky commented 4 years ago

thx for the info, fixed it.