Page 1 of 2 12 LastLast
Results 1 to 10 of 174

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    22
    Plugin Contributions
    1

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by eentje View Post
    New version (1.1) submitted with SSL support, English defines added, less core files to be altered, general off/on switch in admin and extended read me.
    Firstly, great mod. I had been using the copy and paste version direct from CookieControl website as until today I hadn't found one that was ready-to-go on the zen cart site.

    I'm using the the latest v1.2 version which claims to be able to handle SSL. I appeared to have problems with our sites SSL. I have our mod set to explicit giving the user the choice to avoid cookies until they allow them. In this mode, SSL works ok in both IE9 and firefox. Once the user has allowed cookies, there becomes SSL issues in both browsers; not good news for the customer who's about to log-in.

    Then I thought, I had this problem before! The google analytics script found in includes/templates/YOUR_TEMPLATE/templates/tpl_cookie_control.php contains the a URL that did not start with https:. So I changed it from http: as below:

    function ccAddAnalytics() {
    jQuery.getScript("https://www.google-analytics.com/ga.js", function() {
    var GATracker = _gat._createTracker('<?php echo COOKIE_CONTROL_GOOGLE_ANALYTICS ; ?>');
    GATracker._trackPageview();
    });
    }

    It worked with my old installation so didn't see why it couldn't work with this mod. And it did, cookies are now being stored on my browser. I'm not a php programmer but love to tinker so I'm unsure if this the correct way to sort out this issue, it just happened to work for me.

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Cookie Control Support Thread

    The whole Google function is actually meant a bit as an example, since a lot of people already have analytics added to their site and need to change that. For my own site i rewrote the code so it works together with the simple Google analytics module.
    But I am glad you found your solution that works for you.

  3. #3
    Join Date
    Feb 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Hi, I installed this module (1.2) on 2 different zencart shop (both 1.39h) but I have the same problem by both shops.

    shop 1: does NOT have Google analytics so in the backend , the set protected cookies is empty
    shop 2: does have Google analytics so in thet backend, the set protected cookies has:analytics


    shop 1: frontend I get the cookiecontrol popup, and the product lists has images, but the product info page has no image
    shop 2: frontend I get no cookiecontrol and the product info page has a image

    when I get to the backend of shop 2 and empty: analytics in the field protected cookies then the result on the frontend is no main image but the cookie control is working

    I tried a several hours but no result What went wrong?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	shop1 - kopie.jpg 
Views:	121 
Size:	13.3 KB 
ID:	11160   Click image for larger version. 

Name:	shop2 - kopie.jpg 
Views:	117 
Size:	9.4 KB 
ID:	11161   Click image for larger version. 

Name:	shopmain1 - kopie.png 
Views:	120 
Size:	9.7 KB 
ID:	11162  

    Click image for larger version. 

Name:	shopmain2 - kopie.jpg 
Views:	139 
Size:	18.5 KB 
ID:	11163  

  4. #4
    Join Date
    Jan 2009
    Location
    The Netherlands/Germany
    Posts
    142
    Plugin Contributions
    12

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by Webbies View Post
    Hi, I installed this module (1.2) on 2 different zencart shop (both 1.39h) but I have the same problem by both shops.

    shop 1: does NOT have Google analytics so in the backend , the set protected cookies is empty
    shop 2: does have Google analytics so in thet backend, the set protected cookies has:analytics


    shop 1: frontend I get the cookiecontrol popup, and the product lists has images, but the product info page has no image
    shop 2: frontend I get no cookiecontrol and the product info page has a image

    when I get to the backend of shop 2 and empty: analytics in the field protected cookies then the result on the frontend is no main image but the cookie control is working

    I tried a several hours but no result What went wrong?
    Nothing went wrong.
    You probably use zen lightbox with mootools in stead of the zen lightbox with jquery.
    I came, I saw, I got zenned... :)

  5. #5
    Join Date
    Feb 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by eentje View Post
    Nothing went wrong.
    You probably use zen lightbox with mootools in stead of the zen lightbox with jquery.
    Yes that's exactly the problem!!! The sites used fual litebox and I changed this in Zen lightbox and it's working fine now. Many thanks.

  6. #6
    Join Date
    Oct 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Thanks Design75 for creating the plugin. I have installed v 1.2 on my zencart v1.5. All working fine EXCEPT that the slider features on index page of the template is now not working. I saw this issue in the other support thread but no solution yet. Does this plug in works with/support easy sliders feature that is used in estornow template? Any guides or hint or pointer of what might hv gone wrong.
    Many thanks

  7. #7
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Cookie Control Support Thread

    Okay,
    I thought to solve this just before going to sleep, and not wait till tomorrow.
    I made a test shop with Zen Cart 1.5.0, estornow template, and cookie control 1.2

    The slider and cc fail to work. the problem is the jquery already being loaded.
    Solution:
    edit includes/templates/YOUR_TEMPLATE/jscript/jscript_cookieControl-5.1.min.php
    find and remove the following
    Code:
    http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js
    it is not the best solution, but it works

  8. #8
    Join Date
    May 2005
    Location
    England
    Posts
    740
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Hello there,

    Is there a way to disable the script on secure pages? I get the 'do you want to display insecure content' on checkout and login. Thanks for any help with this, it is a great module by the way.

  9. #9
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by HeathenMagic View Post
    Hello there,

    Is there a way to disable the script on secure pages? I get the 'do you want to display insecure content' on checkout and login. Thanks for any help with this, it is a great module by the way.
    If you install version 1.3, it should resolve your problem. I had the same, which was the main reason this latest version was created.

    You only need to replace the file "includes\templates\YOUR_TEMPLATE\jscript\jscript_cookieControl-5.1.min.php" , and add "includes\templates\YOUR_TEMPLATE\css\stylesheet_cookie_control.css" from the new file package

  10. #10
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    I am using ZC 1.5.7b, PHP 7.4 with two languages English and German.
    It has worked fine for me for years.

    I was using extended logging options for another problem when the PHP Notice below showed up. I have no clue what the implications might be or if I should just forget about it.
    Code:
    PHP Notice: Constant BOX_CONFIGURATION_COOKIECONTROL already defined in /ADMIN/includes/languages/english/extra_definitions/cookie_control.php on line 18.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3672
    Last Post: 11 Sep 2025, 05:07 PM
  3. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 285
    Last Post: 23 Dec 2020, 10:40 AM
  4. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  5. Replies: 7
    Last Post: 7 Apr 2011, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg