Harborn-digital / cookie-consent-bundle

Symfony bundle to append Cookie Consent to your website to comply to AVG/GDPR for cookies.
MIT License
19 stars 18 forks source link

Render hidden - allow user to change cookie settings #87

Open crabnky opened 3 years ago

crabnky commented 3 years ago

Hey,

can you add option to render the form, but don't show it? I can render if cookie consent is not set, but after this the form is not redered at all. I want to have a clickable button, so user can bring the form up and change cookie settings anytime.

oliverfehmel commented 3 years ago

As far as I know the form is rendered when you want it to be rendered. So if you change the check when it should be rendered or put a "hidden" element around it, you should be able to achive what you want, no?

crabnky commented 3 years ago

Yeah, that's one option - second is to do a ajax call rendering form when needed. Thanks. :)