Open jamminjames opened 3 years ago
For a non WordPress installation, accordint to documentation you need just eucookielaw-header.php
file.
If your php does not support gzdecode
method you need to use also gzcompat.php
.
Clientside you need EUCookieLaw.js
and stylesheet.
The better way to not forget all needed contents is to save all contents in a dedicated directory in your document root (maybe vendor\eucookielaw
or the on you prefer) and follow documentation to setup your website integration.
For cookie persistence and life time, I suggest you to see the duration
option of client banner.
Finally, for the language, the client script does not look for the browser language but simply shows the first language from the configuration so if you set in the order:
the chosen language will be italian, try to change language orders and you see how the behavior changes.
For a non-Wordpress, php installation, which files are needed? There are a lot of files which aren't mentioned in the instructions.
Also, the instructions say the cookie will remember the choice for the session. Will users have to see the popup every time they visit the site? Or does it create a cookie in their browser that should remember?
And how does it decide what language to use? I have the standard meta tag on our site for English, but it's using Italian.