dmind-gmbh / extension-cookieman

A GDPR tracking consent popup for the content management system TYPO3. It asks for approval to include tracking objects (cookies, images or any HTML) and includes the objects when consented.
https://extensions.typo3.org/extension/cookieman
GNU General Public License v2.0
35 stars 18 forks source link

difficolties out of the box ... #227

Closed t3webman closed 3 years ago

t3webman commented 3 years ago

Bug Report

I'm not that good in programming TYPO3 ... this is my issue:

website: http://site.argenti.ch/ (development at time of writing) otherwise: https://argenti.ch/ (if I activated anyhow)

TYPO3 v10.4 LTS jQuery v2.2.4 Bootstrap v3.3.7

Prerequisites

Description

without configuring anything (I only extended the translations to have my own langage files since I work with italian as default, and then other 3) with the example loaded the popup comes up correctly for every language, I can click the settings but when I select a cookie category (let's say 'mandatory') the page gets reloaded ...

and if I where in another language than DEFAULT (italian), it will go back to DEFAULT

Steps to Reproduce

  1. access the site, click settings and then try to visualize cookie details

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Versions

You can get this information from executing composer show at the command line if your TYPO3 installation is composer based, otherwise the version number will be shown in the extension manager.

t3webman commented 3 years ago

So sorry ... a bit more 'fiddling' and I got quite a bit further:

plugin.tx_cookieman.settings.theme = bootstrap3-modal took care of a lot

I also got the configuration going, only that upon saving (use of one of the buttons in the modal) nothing happens and nothing is injected ...

of course will I continue to 'fiddle' and I might figure it out ... if so I'll report and close the 'bug'

again, sorry, this is probably not the place to have this beginners dialogue

jonaseberle commented 3 years ago

again, sorry, this is probably not the place to have this beginners dialogue All is fine :) We can switch to the TYPO3 Slack if you want.

If you included the example TrackingObjects

image

you should see some messages in the JavaScript console when Cookieman loads the example TrackingObjects.

You can try it here https://cookieman.d-mind.de/theme-bootstrap3-modal I set up that demo basically by just composer-installing cookieman and including the 2 TypoScripts.

t3webman commented 3 years ago

thanx jonas ... in the meantime did I contribute to complete italian 100% (because I needed it) :-) (how does this get accepted, only 3% is)

I have all working, the only thing it doesn't do is take the script out when I revoke the cookies, I have to manually refresh the page for that ...

if I accept and save it does inject ... and I see this is the same in your demo (bootstrap3-modal) ... maybe a javascript refresh when the consent is withdrawn ... (otherwise I'll add a notification to refresh the page to stop the script if you revoke)

I'll let you close this 'bug-report' ...

jonaseberle commented 3 years ago

thanx jonas ... in the meantime did I contribute to complete italian 100% (because I needed it) :-) (how does this get accepted, only 3% is)

There are TYPO3 language managers on Crowdin that are going to accept it. If it does not happen in the next days, please ask in the TYPO3 Slack in #cig-crowdin-localization. I can also accept them, but I do not want to step on anyone's toes and I do not speak Italian ;)

I have all working, the only thing it doesn't do is take the script out when I revoke the cookies, I have to manually refresh the page for that ...

Maybe it is a display bug in the browser console. There is nothing happening on page load regarding cookie removal - If they are gone after page load they were already gone when you clicked the "deny all" or "save" button.

Have you succeeded in configuring your needed tracking objects? If not, please ask (best in Slack) and I'll help you. You also helped the project with your translations :)