Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 174

Hybrid View

  1. #1
    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  

  2. #2
    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... :)

  3. #3
    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.

  4. #4
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by marton_1 View Post
    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.
    https://docs.zen-cart.com/user/troub...ready_defined/
    Simon

  5. #5
    Join Date
    Nov 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    I can't seem to get this to work. No pop-up is displayed although I can see the code near the closing body tag and up in the head. I have the head code listed twice in the source for some reason directly one below the other which will probably have something to do with the problem but I'm unsure as to why it's been inserted twice.

    All files have been uploaded twice as a precaution, all configured via the site admin.

    BTW does the script in the head need to be so large?

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

    Default Re: Cookie Control Support Thread

    without a link to your site it is hard to guess what went wrong.

    the script is as it was shipped by Civic. You could split it up into three file (script, css and html(php)), but that is up to your own creativity

  7. #7
    Join Date
    Nov 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    >without a link to your site it is hard to guess what went wrong.

    www.natural-alternative-products.co.uk

    >the script is as it was shipped by Civic. You could split it up into three file (script, css and html(php)), but that is up to your own creativity

    I'd rather try and get this working than start coding. :)

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

    Default Re: Cookie Control Support Thread

    looking at your source code it is not only the script loading twice, but all you css an scripts.
    Once the normal way and once minified.
    I think you did something wrong in your header.php file when you installed the css loader

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

    Default Re: Cookie Control Support Thread

    You also have a rewrite module for your urls active, maybe that's not configured properly

  10. #10
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Hi,
    i have installed this but think it is effecting my ssl, no padlock showing

    www.onyourbike.co.uk

    have i installed it properly ?

    i did change 2 files and got padlock to show but have removed it in case im not correct

    i changed the 3 images in css file, i uploaded them to my site and changed

    *background-image: url(./includes/templates/onyourbike/images/ccc-icons.gif);
    *background-image: url(./includes/templates/onyourbike/images/widget-x.gif);
    *background-image: url(./includes/templates/onyourbike/images/switch.png);

    i changed tpl_cookie_control.php

    PHP Code:
    <?php
    if ($request_type == 'NONSSL') { ?>
    <script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
    <?php } else { ?>
    <script src="https://ssl.geoplugin.net/javascript.gp" type="text/javascript"></script>
    <?php ?>
    <?php 
    if ($request_type == 'NONSSL') { ?>
    <script type="text/javascript">//<![CDATA[
      cookieControl({
          introText:'<?php echo COOKIE_CONTROL_INTROTEXT;?>',
          fullText:'<p><?php echo COOKIE_CONTROL_FULLTEXT;?> <a href="<?php echo HTTP_SERVER DIR_WS_CATALOG;?>index.php?main_page=privacy">Privacy Policy</a>.</p>',
          cookieOnText:'<?php echo COOKIE_CONTROL_COOKIES_ON;?>',
          cookieOffText:'<?php echo COOKIE_CONTROL_COOKIES_OFF;?>',
          position:'<?php echo COOKIE_CONTROL_POSITION;?>',
          shape:'<?php echo COOKIE_CONTROL_SHAPE;?>',
          theme:'<?php echo COOKIE_CONTROL_THEME;?>',
          startOpen:<?php echo COOKIE_CONTROL_STARTOPEN;?>, // true , false
          autoHide:<?php echo COOKIE_CONTROL_AUTOHIDE;?>, // Time in miliseconds
          protectedCookies: [<?php echo COOKIE_CONTROL_PROTECTEDCOOKIES;?>], //list the cookies you do not want deleted ['analytics', 'twitter']
          consentModel:'<?php echo COOKIE_CONTROL_CONSENTMODEL;?>', // information_only , implicit , explicit
          subdomains:<?php echo COOKIE_CONTROL_SUBDOMAINS;?>, // true , false
          onAccept:function(){ccAddAnalytics();},
          onReady:function(){},
          onCookiesAllowed:function(){ccAddAnalytics();},
          onCookiesNotAllowed:function(){},
          countries:'<?php echo COOKIE_CONTROL_COUNTRIES;?>' // Or supply a list ['United Kingdom', 'Greece']
          });

          function ccAddAnalytics() {
            jQuery.getScript("http://www.google-analytics.com/ga.js", function() {
              var GATracker = _gat._createTracker('<?php echo COOKIE_CONTROL_GOOGLE_ANALYTICS ?>');
              GATracker._trackPageview();
            });
          }
       //]]>
    </script>
    <?php } else { ?>
    <script type="text/javascript">//<![CDATA[
      cookieControl({
          introText:'<?php echo COOKIE_CONTROL_INTROTEXT;?>',
          fullText:'<p><?php echo COOKIE_CONTROL_FULLTEXT;?> <a href="<?php echo HTTP_SERVER DIR_WS_CATALOG;?>index.php?main_page=privacy">Privacy Policy</a>.</p>',
          cookieOnText:'<?php echo COOKIE_CONTROL_COOKIES_ON;?>',
          cookieOffText:'<?php echo COOKIE_CONTROL_COOKIES_OFF;?>',
          position:'<?php echo COOKIE_CONTROL_POSITION;?>',
          shape:'<?php echo COOKIE_CONTROL_SHAPE;?>',
          theme:'<?php echo COOKIE_CONTROL_THEME;?>',
          startOpen:<?php echo COOKIE_CONTROL_STARTOPEN;?>, // true , false
          autoHide:<?php echo COOKIE_CONTROL_AUTOHIDE;?>, // Time in miliseconds
          protectedCookies: [<?php echo COOKIE_CONTROL_PROTECTEDCOOKIES;?>], //list the cookies you do not want deleted ['analytics', 'twitter']
          consentModel:'<?php echo COOKIE_CONTROL_CONSENTMODEL;?>', // information_only , implicit , explicit
          subdomains:<?php echo COOKIE_CONTROL_SUBDOMAINS;?>, // true , false
          onAccept:function(){ccAddAnalytics();},
          onReady:function(){},
          onCookiesAllowed:function(){ccAddAnalytics();},
          onCookiesNotAllowed:function(){},
          countries:'<?php echo COOKIE_CONTROL_COUNTRIES;?>' // Or supply a list ['United Kingdom', 'Greece']
          });

          function ccAddAnalytics() {
            jQuery.getScript("https://www.google-analytics.com/ga.js", function() {
              var GATracker = _gat._createTracker('<?php echo COOKIE_CONTROL_GOOGLE_ANALYTICS ?>');
              GATracker._trackPageview();
            });
          }
       //]]>
    </script>
    <?php ?>
    can anyone let me know if this is correct

    thanks
    bn
    Last edited by bn17311; 30 Nov 2012 at 11:08 PM.

 

 
Page 3 of 5 FirstFirst 12345 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