nilsenpaul/craft-complete-cookie-consent

Separate field for cookie description

Closed this issue · 6 comments

Would be nice to have a separate field for the cookie description so you can do some additional styling on it like a smaller font.

This has been fixed in v1.0.6.

Let me rephrase it. What I meant was to split Name into Name and Description, so you can add some more info what the cookie group is about.
We are now doing some additional js to accomplish it, but would be great to have it in separate fields.
Screenshot from 2021-09-15 11-12-18

Ah, so THAT's what you meant ;)

We'd have to add a seperate description column for that, shouldn't be a problem.

We've just tagged v1.0.9.3, giving you the option to add a description to cookie types (and having those displayed in the cookie banner).

Works perfect in the banner. But in twig I get Key "description" for array with keys "name, defaultOn, required" does not exist., can you add it to there too? I think in models/CookieSettings.php line 46

Consider it fixed.