Hello,
now it is an obligation to warn visitors about cookies usage in our websites in Europa, and in France we even have to give the choice to disable the cookies.
I am trying to place this in every page:
<html> <head> <script type="text/javascript" src="/tarteaucitron/tarteaucitron.js"></script> <script type="text/javascript"> tarteaucitron.job = []; </script>
... </head>
<body> ... <script type="text/javascript"> tarteaucitron.init(); </script>
</body> </html>
I tried to add it in index.html at the default template and custom template but nothing appear. I tried also header.html.
Could you please help me ?
Thanks
(I do have the script under /tarteaucitron/tarteaucitron.js I am using for my joomla in the same URL and it work fine)
|
Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information |
Yes I did. (It thrue that most issue in dolphin come from the cache.)
Is Index.html the right file to modify ?
|
If you want you want to add it to the header of every page of your Dolphin script, it should go in /templates/base/_header.html
Dolphin has no index.html page but uses index.php
Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information |
If you want you want to add it to the header of every page of your Dolphin script, it should go in /templates/base/_header.html
Dolphin has no index.html page but uses index.php
Thank you denre to take the time to help me.
I also tried /templates/base/_header.html but I guess I don't insert the code correctly. I had it to this post as attchment
|
The code is now visible in the template, correct?
I think it's just that the js code is not run. You problably need to trigger it somewhere on the page.
For example with the $(document).ready(function ()
Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information |
It may also be the url used for the js.
I would specify the exact full url to the js file. instead of just src="/tarteaucitron/tarteaucitron.js" use src="http://yoursite.com/tarteaucitron/tarteaucitron.js" https://www.deanbassett.com |
Hello,
thank you very much Denre and Deano, I got it to work.
I did put src="http://yoursite.com/tarteaucitron/tarteaucitron.js" and also change _header.html in mydomain/template/mytemplate as I noticed it was showing in the UNI template.
|
Is there any mod for eu cookies law ?
I need one thanks.
Proud Hosted by Zarconia.net |
Is there any mod for eu cookies law ?
I need one thanks.
Should be easy enough to add in a JavaScript snippet into _header.html before the closing </head> tag. Just make sure to clear Dolphin's cache for the changes to take effect.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Proud Hosted by Zarconia.net |
I find this web site http://cookie-script.com/ and it does generate the cookie script :) it may be helpful for somebody else :)
Let say i generate a code where exactly do i have to put it thanks !
Proud Hosted by Zarconia.net |
I generated a script cookie for my web site and i have to put it here : You should put script snippet in the footer of your website just before closing </body> tag.
Where can i find the dolphin footer html page pls ?
Thanks
Proud Hosted by Zarconia.net |
We have created a dedicated module for Dolphin.
You can see it at work on our demo site http://dolphinextensions.com
The module is not available on the market because we are waiting more feedback.
If you want to report something, you can write on this forum:
http://www.boonex.com/forums/topic/Cookie-Law.htm
See my products at http://www.boonex.com/market/posts/ilbellodelweb | Hosting: zarconia.net |
Hi,
I used this web site which provides a free and open source version of the cookie content javascript:
https://silktide.com/tools/cookie-consent/download/
The code they generate looks like this:
<!-- Begin Cookie Consent --> <script type="text/javascript"> window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website. <br/>Questo sito utilizza cookies per assicurarti la migliore navigazione.","dismiss":"Ok","learnMore":"Info","link":"terms_of_use.php","theme":"light-top"}; </script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script> <!-- End Cookie Consent plugin -->
I added this to my /templates/base/_header.html just after the <script> tag at the top.
|
luca-social, does this work on your website ? I inserted this script, but nothing appears when I open the site (after clearing cache). |