ride/web-cookiemonster

Automatic notification of cookie usage in a Ride application

Maintainers

Package info

github.com/all-ride/ride-web-cookiemonster

Language:JavaScript

pkg:composer/ride/web-cookiemonster

Statistics

Installs: 325

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2016-10-14 14:48 UTC

This package is auto-updated.

Last update: 2026-03-13 03:27:50 UTC


README

This module adds a message to the HTML view when cookies are used. This to comply with the EU regulations about cookies.

Usage

You can overwrite the cookiemonster template if you include a div with id="cookiemonster", preferably a text/template node. So it won't be visible on the page.

<script type="text/template" id="cookiemonster">
    <div class="container">
        <h2 class="cookiemonster__heading">{translate key="title.cookiemonster"}</h2>
        <p>{translate key="label.cookiemonster"}</p>
        <a href="#" class="cookiemonster__accept js-cookie-accept btn btn--sml">{translate key="button.cookiemonster"}</a>
    </div>
</script>

Parameters

  • cookiemonster.force: Flag to see if the cookiemonster omits the cookie check

Related Modules

Installation

You can use Composer to install this application.

composer require ride/web-cookiemonster