Cookies / external scripts consent window

The window is activated by default, but can be deactivated in globalvars.php if necessary:

$webutler_config['cookie_consents'] = "0";

Enter consents in the list in the window

Open the file settings/consents.php
The following entry must be added to the file for each cookie / external script:
$webutler_consents[] = array(
'position' => '',
'var' => '',
'name' => '',
'description' => '',
'source' => ''
);

Enter values in the individual points.

position: The following values are possible
'' = empty, no entry The entry under 'source' remains empty (no script is loaded). With this entry source code sections can be loaded / not loaded directly in a page.
Example:
<?PHP if(isset($webutlercouple->consents_cookie) &&
in_array('cookie_variable', $webutlercouple->consents_cookie)) { ?>
Display after cookie consent.
<?PHP } ?>
required = necessary, preselected, cannot be deselected The entry under 'source' remains empty. The script is loaded as necessary without consent and is entered either directly in the page or in the file /settings/extradata.php. top = load script in front of </head> The entry under 'source' is loaded before the closing HEAD tag after approval. bottom = load script in front of </body> The entry under 'source' is loaded before the closing BODY tag after approval.
var: 'cookie_variable' = The name of the cookie /script variable
The entry must be unique and must not appear more than once in the file.

name: The name of the script / cookie (is displayed in the window)
With multilingualism:
array(
'de' => 'Name des Scripts / Cookies',
'en' => 'Name of the script / cookie'
)

description: Description of the script / cookie (is displayed in the window)
With multilingualism:
array(
'de' => 'Beschreibung des Scripts / Cookies',
'en' => 'Description of the script / cookie'
)

source: Source or script that is loaded into the page if agreed.