Layout interfering
antischoki opened this issue · comments
I used your plugin and everything works fine except for my little layout interference problem.
The Banner works as it should:
But the problem is the CookieManager.
I read your description and didn't get it to work because my layout is interfering with the {% component 'cookieManager' %}
It either looks like this:
or after pasting inline <style>...</style> before component like this:
The biggest problem is that the tabs from the cookie groups cant be switched.
Can you please provide your default.htm (Layout) you used for your documentation so i can figure out where my problem is? I don't even know if your default.htm would help me in any way but i don't know what else i could do.
Thank you
and have a nice day!
Did you enable the include_assets
option?
https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/blob/develop/components/ConsentManager.php#L30
The script and css will be included then.
Also make sure to include the {% styles %}
and {% script %}
tags in your layout. Otherwise the plugin won't know where to inject the assets.
https://octobercms.com/docs/markup/tag-styles
https://octobercms.com/docs/markup/tag-scripts