Jump to content

[Free Modules] Art Cookiechoices (Eu Cookie Law) Ps 1.6 / 1.7 [NEW]


Recommended Posts

Simple module that displays (EU Cookie Law) based on Cookiechoices.org by Google

New Version 1.2.3 - https://www.tecnoacquisti.com/en/administration/2--free-modules-art-cookiechoices-eu-cookie-law.html 

The banner cookie is deactivated by clicking anywhere on the page

 

DEMO FRONTOFFICE: https://www.demomodule.com

DEMO BACKOFFICE: https://www.demomodule.com/adminDEMO/
User: demo@demo.com PW: demodemo
 

bug fix and upgraded to prestashop 1.7

OLD VERSION PRESTOSHOP 1.6 AND 1.7

 

 

VERSION PS 1.6/1.7 (bug fix and upgraded)

 

 

NEW VERSION PRO 1.2.1 PS 1.6/1.7. 
New version 1.2.1 with several new features:

 

post-416237-0-16439000-1494419600_thumb.jpg

post-416237-0-23728100-1494419607_thumb.jpg

post-416237-0-51556400-1494419614_thumb.jpg

Edited by Arteinfo (see edit history)
  • Like 3

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi Arteinfo, I just inteslled your cookie law module and so far it seems just good. Just 1 question: I guess I would need to edit the code, in order to set the target link from "blank" to "self", right?

 function _createInformationLink(linkText, linkHref) {
      var infoLink = document.createElement('a');
      _setElementText(infoLink, linkText);
      infoLink.href = linkHref;
      infoLink.id = 'InformativaClick';
      infoLink.target = '_blank';
      infoLink.style.marginLeft = '8px';
      return infoLink;
    }

In the file cookiechoices.js

cedit line: infoLink.target = '_blank';

to infoLink.target = '_self';

 

  • Like 2

Share this post


Link to post
Share on other sites
  • 6 months later...
  • 4 weeks later...
  • 2 months later...
  • 1 month later...
  • 1 month later...

Ciao!

 

Sto testando Prestashop 1.6.1.14 in locale ed ho installato anche il tuo modulo.
Ho un paio di domande da farti
 

E' possibile impostare il numero di px da scrollare per far sparire il banner?
E' possibile legare la scomparsa del banner al solo click del tasto?
 

Share this post


Link to post
Share on other sites
>>>E' possibile legare la scomparsa del banner al solo click del tasto?
Basta commentare o eliminare le seguenti righe dal file /modules/artcokiechoicespro/views/templates/hook/artcookiechoices.tpl

jQuery(document).bind( 'touchstart', function(event){ if (!jQuery(event.target).closest('#cookieChoiceInfo').length) {cookieChoices._dismissLinkClick();[spam-filter]);
jQuery(document).mousedown(function(event) { if(event.which == 1) {if (!jQuery(event.target).closest('#cookieChoiceInfo').length) {cookieChoices._dismissLinkClick();[spam-filter]});
 
E' possibile impostare il numero di px da scrollare per far sparire il banner?
No, non è possibile.

Share this post


Link to post
Share on other sites
  • 1 month later...

Hello,

Thank you for this free module.

One question... Click on page should be a GDPR development? I ask because that option don't work. Yes / or No .. the module dont do anything. More than that if I put NO, the bar vanish :)

As far as know a GDPR action for an online site should by like a checkbox that need to be checked by user and eventually to log the ip/username if is the case of a customer and his/her agreement.

Best regards,

 

 

Share this post


Link to post
Share on other sites
24 minutes ago, eldermaster said:

One question... Click on page should be a GDPR development? I ask because that option don't work. Yes / or No .. the module dont do anything. More than that if I put NO, the bar vanish :)


The law cookies banner is limited to sending the confirmation cookies.
Registration of consent requires another module. As well as blocking tracking cookies.
Our modules are being updated to support this feature.

For registration you need Art WebMaster Tools v.1.4.3 (currently awaiting validation)
https://addons.prestashop.com/it/seo-indicizzazione-naturale/24331-art-webmaster-tools-site-verification-and-hreflang.html

While Art Zendesk already now supports the function:
https://addons.prestashop.com/it/supporto-chat-online/28505-art-zendesk-chat-formely-zopim.html


Here some screens of the new version:

image.thumb.png.d64040fd0e1f5683faa599ef7a90bc52.pngimage.thumb.png.c0f504ce3b6fe684b4a41a11f33f7553.png

image.thumb.png.48a39913295c8a070cbe40fddfff120b.png

image.thumb.png.a68dde53c570533813078cc92f849505.png

image.thumb.png.dfefb903d3be2ff9e3a90dfdc74eb9b2.png

image.thumb.png.43cd633c91ef4a935ca1c198b688c721.png

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Ciao, ho aggiornato il modulo con l'ultima versione e ora non compare più il banner.

Ho provato anche a disinstallarlo ma niente, non riesco più a farlo uscire

prestashop v 1.7.3.0

 

grazie

Share this post


Link to post
Share on other sites
Just now, lu1782 said:

Ciao, ho aggiornato il modulo con l'ultima versione e ora non compare più il banner.

Ho provato anche a disinstallarlo ma niente, non riesco più a farlo uscire

prestashop v 1.7.3.0

 

grazie

come non detto, mi ero dimenticato di cancellare la cache in prestashop!

graziee

  • Haha 1

Share this post


Link to post
Share on other sites

Ciao, grazie per questo modulo.

Potresti spiegare perché non salva correttamente in HTML i tag tipo grassetto, sottolineato...? Non ne vuole sapere di parsare i tags dentro lo span InformativaSpan all'interno del div cookieChoiceInfo perché proprio non ci sono in source...probabilmente fai uno strip dei tags prima del salvataggio e poi anche per via dello span?

E poi, nonostante l'iframe sia abilitato in HTML, anche quello non mostra. Quindi stai facendo una sorta di strip completo? Per cortesia, potresti fixare a default la questione oppure almeno fornirla come opzione? Anche perché a dire il vero il rich editor non avrebbe molto senso se puoi scrivere solo del normale testo...

grazie mille

Edited by mmsh (see edit history)

Share this post


Link to post
Share on other sites

dunque, ho aggiunto un true alla linea 166 del file artcokiechoicespro.php

Configuration::updateValue('ARTCOKIECHOICESPRO_TEXT', $artcookies_text, true);

ed in effetti salva regolarmente i tags nel database.

Il problema è che nell'elemento span InformativaSpan, ma pure se lo cambi in div anziché span, l'html non viene parsato...e quindi rimane tutto testo, nonostante la sintassi sia corretta

quindi rimane da capire perché, invece, InformativaClick, all'interno dello stesso div funziona regolarmente come a href....

c'è qualcosa forse nella tua costruzione da javascript che fa sì che non venga parsato regolarmente l'html in quel div?

grazie

Share this post


Link to post
Share on other sites

Thank you for your very usefull module which works fine in my ps  1.6.1.17 version.

Unfortunately the cookie message disappears when I click anyhwere else in my website (without clicking the 'Agree button')!

Is there an option also to 'Decline' the acceptance of the Cookie message?

Edited by zeisei
Forgot something (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

hello Arteinfo, first of all thank you for your module, really great. I am on Prestashop 1.6.1.6 and the banner appears in English and not other languages like French or German (translations have been made in BO). Further more in English if I change the page the banner disappears.... any idea how to fix this ?

 

Share this post


Link to post
Share on other sites
On 22/5/2018 at 4:19 PM, mmsh said:

Ciao, grazie per questo modulo.

Potresti spiegare perché non salva correttamente in HTML i tag tipo grassetto, sottolineato...? Non ne vuole sapere di parsare i tags dentro lo span Ine molto senso


HTML non è supportato. 

Share this post


Link to post
Share on other sites
On 23/5/2018 at 3:24 PM, zeisei said:

Thank you for your very usefull module which works fine in my ps  1.6.1.17 version.

Unfortunately the cookie message disappears when I click anyhwere else in my website (without clicking the 'Agree button')!

Is there an option also to 'Decline' the acceptance of the Cookie message?


There is only the possibility to accept cookies law, if you do not want to accept it simply do not close the banner.

Share this post


Link to post
Share on other sites
17 hours ago, smalto said:

hello Arteinfo, first of all thank you for your module, really great. I am on Prestashop 1.6.1.6 and the banner appears in English and not other languages like French or German (translations have been made in BO). Further more in English if I change the page the banner disappears.... any idea how to fix this ?

 


Modules -> artcokiechoicespro -> Configure

Click on the page: YES

And the banner will disappear only if accepted

For the language problem it can be related to your PS installation.
Try updating to 1.6.1.18

 

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hello and thank you for providing this module to comunity. Do I need some other module to enable "Click on the page"? Because now if I change it to NO and hit save, it returns to YES.

Also, have you considered adding 1) when geo location is enabled and 2) the detected country does not have EU cookie rule...US for example - not to show?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More