Download the PHP package hounddd/wn-gdprplus-plugin without Composer
On this page you can find all versions of the php package hounddd/wn-gdprplus-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hounddd/wn-gdprplus-plugin
More information about hounddd/wn-gdprplus-plugin
Files in hounddd/wn-gdprplus-plugin
Package wn-gdprplus-plugin
Short Description Additional features for OFFLINE.Gdpr plugin
License MIT
Homepage https://gitlab.com/hounddd/wn-gdprplus-plugin
Informations about the package wn-gdprplus-plugin
Hounddd.GdprPlus Plugin for WinterCMS
This plugin adds additional features for managing personal data to the OFFLINE.GDPR plugin.
Wide banner
A new component is available to replace the simple banner provided by the original plugin.
It can be implemented by just substituting the name of the cookieBanner
component in your layout with cookieBannerWide
:
Additional and optional properties of the cookieBannerWide
component**
The component offers two new (optionals) properties that allow you to configure its appearance.
Property | Type | Description |
---|---|---|
bg_cookie |
Boolean | Show or not a cookie background in the banner (default off) |
color_scheme |
String | The color scheme to use for toggles and buttons (default blue) |
The available color schemes are blue (default), red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, indigo, violet, purple, fuchsia, pink and rose.
Colors schemes
Make it your own
Appearance
If you wish, you can define your own color scheme by specifying the following css variables in a .gdpr-bannerwide
selector:
You can also define the size of the toggles by setting the --toggle-size
variable in a .gdpr-bannerwide
selector:
The default size is 20px on smartphones, 22px on small screens, 24px on medium screens and 28px on large screens.
Texts
You can replace the basic title and message by defining a translation file in your site ./lang/en/hounddd/gdprplus/lang.php
:
`
Installation
Let assume you're in the root of your wintercms installation.
Using composer
Just run this command
Clone
Clone this repository into your winter plugins folder.
Make awesome sites with ❄ WinterCMS!