Closed frontendschlampe closed 2 years ago
Would it also be an option that we dispatch event so that you can do your changes this way? How would your integration look like?
We provide a bridge extension which abstracts the integration of the consent tool and can be used by any consent tools. The goal of the bridge is to fill the gap between extension developers and consent tools providers. The basic support is enabled by a simple plugin class. A more advanced integration, for example for a placeholder in a partial of the module/content element might require template changes.
An example of the plugin can be found here: https://github.com/hofff/contao-tawk-to/blob/master/src/ConsentBridge/Plugin.php
The dependency of the consent bridge can be defined as an optional requirements also.
The less code the better, so your concept of a bridge module sounds reasonable.
Please provide a PR and we'll check if we can integrate it.
Hey @Defcon0 we made a PR here https://github.com/heimrichhannot/contao-google-maps-bundle/pull/17
New version is there: 2.5.0 :+1:
Thanks!
Hey, we would provide a PR to support our commercial extension Contao Consent, so that the website editor just need to choose a service provider for prevent loading Google Maps without any consent given.
Is that ok for you?