Page 13 of 18 FirstFirst ... 31112131415 ... LastLast
Results 121 to 130 of 174
  1. #121
    Join Date
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    my template jscript dir:

    BAKjquery.form.min.jsBAK
    jscript_google_analytics.php
    jscript_supertracker.php
    BAKjscript_script_loader.phpBAK
    jquery-1.4.4.min.js
    jscript_cookieControl-5.1.min.php
    jscript_imagehover.js
    on_load

    jquery 1.4.4 is correctly loaded for image management with lightbox popups

    I tried to substitute jquery 1.4.4 wint 1.7 from google apis, but I have same result: lightbox is ok, cookie law popup doed not show at all (as long ad it's present in page source)


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

    Default Re: Cookie Control [Support Thread]

    Yes you are loading jquery for lightbox, but that si not site wide.

    find in includes/ templates/YOUR_TEMPLATE/common/html_header.php

    PHP Code:
    /**
     * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
     */
      $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
      while(list ($key, $value) = each($directory_array)) {
        echo '<script type="text/javascript" src="' .  $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
      }

    <?php
    /**
     * load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically
     */
    and change it to
    PHP Code:
    /**
     * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically
     */
      $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js');
      while(list ($key, $value) = each($directory_array)) {
        echo '<script type="text/javascript" src="' .  $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
      }

    /** CDN for jQuery core **/
    ?>
      <script>window.jQuery || document.write('<script src="//code.jquery.com/jquery-1.11.1.min.js"><\/script>');</script>
      <script>window.jQuery || document.write('<script src="<?php echo $template->get_template_dir('.js',DIR_WS_TEMPLATE$current_page_base,'jscript'); ?>/jquery.min.js"><\/script>');</script>

    <?php
    /**
     * load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically
     */
    this will ensure to load jquery when it is not loaded by another script

  3. #123
    Join Date
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Done....but results are the same...maybe some other jscript is conflicting with cookie law one?

  4. #124
    Join Date
    Dec 2008
    Location
    Rimini, Italy, Italy
    Posts
    67
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    SOLVED!!!!
    In italian language files I had to substitute a\' with à and so on... (I hate accented vowels) :)

    Hope it could help everyone with this problem.

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

    Default Re: Cookie Control [Support Thread]

    Quote Originally Posted by moosesoom View Post
    SOLVED!!!!
    In italian language files I had to substitute a\' with à and so on... (I hate accented vowels) :)

    Hope it could help everyone with this problem.
    Wow, good catch. I never would have guessed that!

  6. #126

    Default Re: Cookie Control Support Thread

    Hi,

    I'm using ZenCart 1.5.4 and have just installed Cookie Control.

    When the Cookie Control displays it shows two triangles (or a triangle and a diamond if configured to show a diamond). I've checked all of the install files etc. Any ideas what is going wrong?

    Name:  Screen Shot 2015-10-09 at 10.20.18.png
Views: 315
Size:  14.2 KB

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

    Default Re: Cookie Control Support Thread

    Do you have a link to your site?

  8. #128
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Cookie Control Support Thread

    A client is using this plugin but a resource is returning a 403. Specifically, https://ssl.geoplugin.net/javascript.gp in tpl_cookie_control.php

    I've contacted Geo Plugin (waiting for a reply). Is there another way to accomplish this until they fix the issue on their end?

  9. #129
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by jeking View Post
    A client is using this plugin but a resource is returning a 403. Specifically, https://ssl.geoplugin.net/javascript.gp in tpl_cookie_control.php

    I've contacted Geo Plugin (waiting for a reply). Is there another way to accomplish this until they fix the issue on their end?
    Likewise, looking at the cookie-control javascript I don't see where that geoplugin script's output is even used.

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

    Default Re: Cookie Control Support Thread

    It has been a long time since i had a look at this code, but I think it is used with "geoplugin_countryName". And I think i remember seeing a mention somewhere that that is a paid service nowadays
    Quote Originally Posted by lat9 View Post
    Likewise, looking at the cookie-control javascript I don't see where that geoplugin script's output is even used.

 

 
Page 13 of 18 FirstFirst ... 31112131415 ... LastLast

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3662
    Last Post: 30 Apr 2025, 04:14 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR