Cookie Consent Banner icon

Cookie Consent Banner

Version 2.0.1

February 27, 2024

Changed

  • Added Craft Cloud compatibility (via Pixel and Tonic) - #48
  • Merged pull request to correct minimum version number - #40

Version 2.0.0

August 11, 2022

Changed

  • Update plugin for Craft 4

Version 1.2.9

November 24, 2021

Fixed

  • Change how CSS and JS options are passed to resolve conflict with Craft 3.7.22 #37

Version 1.2.8

May 28, 2021

Fixed

  • Add '#' to colour setting hex code outputs where these have been dropped in newer versions of Craft

Version 1.2.7

September 10, 2020

Changed

  • All namespaces PSR-4-compliant (thanks, @qrazi)
  • Allow translation of button text (thanks, @drifteaur)

Version 1.2.6

March 25, 2020

Fixed

  • Ensure entry variable is instance of craft elements entry (thanks, @chrislkeefer)

Version 1.2.5

January 20, 2020

Added

  • Support for detecting/honouring doNotTrack headers

Changed

  • Refactor validateCookiesAccepted() into validateCookieConsentSet()

Version 1.2.4

January 20, 2020

Fixed

  • Correct function calls when banner type is opt out and consent not given

Version 1.2.3

December 9, 2019

Fixed

  • Resolved issue when using variable rather than auto-injecting banner

Version 1.2.2

November 29, 2019

Changed

  • Increased required Craft version to 3.1.0

Version 1.2.1

November 29, 2019

Fixed

  • Resolved issue with migration where table prefix incorrectly assumed

Version 1.2.0

November 29, 2019

This is a major update which changes how config data is stored and introduces a lot of additional config options, so as the plugin is initialised on all page loads, we would strongly recommend taking a backup before updating and testing in dev environments first.

Released

  • Full release of 1.2.0-beta.1

Version 1.2.0-beta.1

November 12, 2019

Added

  • Add Project Config compatibility
  • Update Cookie Consent library, add clutch of new settings
  • Add plugin services and variable so doesn't have to be auto-injected

Version 1.1.6

July 25, 2019

Released

  • Add key param to registered <script> block to prevent being overwritten

Version 1.1.5

July 5, 2019

Released

  • Update decline href attribute to be # instead of empty

Version 1.1.4

July 5, 2019

Released

  • Add empty href attribute to 'Decline' button so works for keyboard users

Version 1.1.3

April 17, 2019

Released

  • Full release of 1.1.3-beta.1

Version 1.1.3-beta.1

February 27, 2019

Added

  • Added test for HTTP status code less than 400 so banner not shown on error pages
  • Added test of content type so banner not shown on pages where the content type is not text/html

Version 1.1.2

September 6, 2018

Fixed

  • Changed order of nl2br/translate method calls on message field so messages with line breaks can be added to static translation files

Version 1.1.1

August 31, 2018

Added

  • The message / learn more text now hyphenates words across line breaks
  • The message, learn more text and dismiss button text fields are now translated on output as long as a translation has been supplied

Version 1.1.0

August 29, 2018

Fixed

  • Resolved issue where JS would break if new line used in message text

Version 1.0.9

August 15, 2018

Fixed

  • Tightened up checking around excluded entry types/categories

Version 1.0.8

August 15, 2018

Fixed

  • Fixed excluded entry type/category checking when none specified

Housekeeping

  • Removed some commented code

Version 1.0.7

August 15, 2018

Housekeeping

  • Removed some redundant checking

Version 1.0.6

August 15, 2018

Added

  • Added new setting to disable in live preview
  • Added new setting to exclude from certain entry types
  • Added new setting to exclude from certain categories

Fixed

  • Added JS to settings template so preloaded stylesheets are properly included in admin

Version 1.0.5

July 23, 2018

Fixed

  • Added checking for if console request or getIsAjax() method does not exist

Version 1.0.4

July 13, 2018

Fixed

  • Updated SVG icon classes to be more specific

Version 1.0.3

July 11, 2018

Added

  • Added new plugin icon

Version 1.0.2

July 6, 2018

Fixed

  • Added 'as style' value to preloaded CSS

Version 1.0.1

July 6, 2018

Fixed

  • Updated documentation and support urls

Version 1.0.0

July 5, 2018

Added

  • Initial release

Brought to you by A Digital