Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Hotfix/cookie message #42

Merged
merged 2 commits into from
Aug 11, 2020
Merged

Hotfix/cookie message #42

merged 2 commits into from
Aug 11, 2020

Conversation

martinyde
Copy link
Collaborator

Add cookie message

@martinyde martinyde requested a review from cableman August 11, 2020 10:52
<?php print $doctype; ?>
<html lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"<?php print $rdf->version . $rdf->namespaces; ?>>
<head<?php print $rdf->profile; ?>>
<script id="CookieConsent" src="https://policy.app.cookieinformation.com/uc.js" data-culture="DA" type="text/javascript"></script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this JS not have been added in itk_siteimprove_init() hook (which is activated on every page call) with add_js or in an hook_preprocess in itk_siteimprove so it is contained in the module.

This is an hidden dependency.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://policy.app.cookieinformation.com/uc.js is not related in any way to siteimprove. It just adds cookie consent banner

@martinyde martinyde dismissed cableman’s stale review August 11, 2020 11:11

https://policy.app.cookieinformation.com/uc.js is not related in any way to siteimprove and so there is no dependency.

@martinyde martinyde merged commit 33604d0 into master Aug 11, 2020
@martinyde martinyde deleted the hotfix/cookie-message branch August 11, 2020 11:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants