Skip to content

Releases: oveleon/contao-cookiebar

2.3.6

19 Feb 11:48
db22bcd

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.5...2.3.6

2.3.5

30 Oct 12:27
f831233

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.4...2.3.5

2.3.4

27 Oct 14:08
1b83733

Choose a tag to compare

What's Changed

  • Allow insert_tags within the cookiebar descriptions, labels and more by @zoglo in #282

Full Changelog: 2.3.3...2.3.4

2.3.3

10 Oct 07:26
012bad9

Choose a tag to compare

What's Changed


Full Changelog: 2.3.2...2.3.3

2.3.2

01 Oct 14:41

Choose a tag to compare

Bugfixes

  • Fix the default selection for the element blocker template 8c14791
  • Reset the close-button styles eb97da2

Full Changelog: 2.3.1...2.3.2

2.3.1

15 Sep 09:45

Choose a tag to compare

Description

  • Remove the outline within the blocking template f9c8e06

Full Changelog: 2.3.0...2.3.1

2.3.0

15 Sep 08:46
b3ed990

Choose a tag to compare

Cookiebar templates in Twig / Strict types / moderinzed JS

Requirements

  • Minimum PHP version: 8.3

New Features

  • Same as other consent tools such as ccm19.de, the cookiebar now has an X to temporarily close it without giving consent
    • The status is saved in the session storage, meaning that it will reappear on the next visit

Templates

  • Fully rewritten in Twig
  • simple template is now a variant of the default template
  • Why Twig? → easier and more flexible
    • Example of customizing the block iFrame (yes, you could also just use a variant)
    {# templates/ccb/element_blocker.html.twig #}
    {% extends "@Contao/ccb/element_blocker.html.twig" %}
    {% block styles %}
       {{ parent() }}
       <style>html{background:#f47c00;}</style>
    {% endblock %}
    

JavaScript

  • Cookiebar JS has been rewritten as a class, with JSDoc for type-safe contributions
  • Internet Explorer support has been removed

PHP

  • declare(strict_types=1); everywhere
  • Services are no longer autowired
  • JS & CSS assets are now loaded via the asset component

Deprecations

  • The addModule method has been deprecated, there is no replacement yet but it could be rewritten to something similar that klaro has. If you are interested in funding it, please contact info@oveleon.de

Important

Disclaimer
Templates do not have a BC-Promise and are thus not backward-compatible.
Any customizations you've made must be adapted to Twig. Please understand that we cannot provide general support regarding Twig templates.
Issues related to helping modify your Twig templates will be closed without notice.

For professional assistance, we offer paid support via info@oveleon.de.
For general help, please refer to the documentation, contao community forums, Slack, or StackOverflow.

2.2.14

06 Aug 14:33

Choose a tag to compare

Description

  • Added forwards compatibility for Contao 5.6 6c5dd9d
  • Improved the consent-log deactivated message

Full Changelog: 2.2.13...2.2.14

2.2.13

09 Jul 13:36

Choose a tag to compare

Update

  • Implement the missing migration for the cookiebar opener (see: #267)

Full Changelog: 2.2.12...2.2.13

2.2.12

09 Jul 08:49

Choose a tag to compare

Bugfix

  • Match the return type with the ExtensionInterface ddc145d