Page 5 of 18 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 173
  1. #41
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    thanks for taking a look.
    When you looked I had the 'as supplied' jscript file loaded, i.e. the <a> tag has no 'href' specified - the mouse over does not change to hand - and it works.
    I have now changed the jscript file to my modified script.
    Mouse over changes to hand and the <a> tag has an href specified - click and it goes to correct page - i.e. displays the same pae it was on, but cookie on status does not change.

    I wonder - and I dont know how to check:

    As supplied the<a> had no 'href' specified. The jscript carries out the shanges to the display - jscript so this is local to user.

    When the <a> tag is specified clicking does as above and the jscript updates the display but then obeys the command to go to the specified 'href' - which reloads the current page. However as there are no changes to the 'served' page the cached version is re-displayed - hiding the fact that the jscript has done its job.
    Last edited by tsrplatelayer; 26 Feb 2013 at 04:13 PM.

  2. #42
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Ah! - that is exactly what is happening
    when I click to enable/disable cookies I can see the red/green bar start to change to the opposite setting, but then this change does not complete on the screen

  3. #43
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    I have an idea - just to sum the generated/served <a> looks like this:
    CIVIC :
    PHP Code:
    <a id="cctoggle" href="#" style="background-position-x: 0;"
    the mouseover works correctly, but when 'clicked' Zen displays the wrong page, because there are no 'parameters' in the href url.
    Cookie enable/disable display and functionality works.
    ZEN Plugin :
    PHP Code:
    <a id="cctoggle" style="background-position-x: 0;"
    the mouseover doesn't work, ZEN displays correct page
    Cookie enable/disable display and functionality works.
    MyMod :
    PHP Code:
    ]<a id="cctoggle" href="http://www.freight-stop-shop.co.uk/tickets/index.php?main_page=index&cPath=7" style="background-position-x: 0;"
    the mouseover work, ZEN displays correct page
    Cookie enable/disable display and functionality faulty.

    I am going to try
    PHP Code:
    ]<a id="cctoggle" href="#?main_page=index&cPath=7" style="background-position-x: 0;"
    No - dran it - that doesnt work either - and thats how I have left thge site at this time
    Last edited by tsrplatelayer; 26 Feb 2013 at 04:43 PM.

  4. #44
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    i think I've got it - I edited the jscript file to generate
    PHP Code:
    <a id="cctoggle" href="javascript:expand()" style="background-position-x: 0;"
    that seems to work - please take a look at
    http://www.freight-stop-shop.co.uk/t...=index&cPath=8
    and see.
    1. Mouseover on the toggle works
    2. ZEN displays correct page when 'click' on Cookies are on/Cookies are Off toggle
    3. Cookie status red/Green bar displays correctly

  5. #45
    Join Date
    Oct 2010
    Location
    Shropshire
    Posts
    174
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    I suspect that href has to be specified for mouseover to work, however cookie control does not actually require anything so I tried modifying the jscript to generate
    PHP Code:
    <a id="cctoggle" href="javascript:donothing()" style="background-position-x: 0;"
    and added
    Code:
    function donothing() {return}
    to the code.
    That seems to work also.

  6. #46
    Join Date
    Mar 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    I had a strange issue with the analytics functionality with this mod, and I wondered if anyone could shed any light on it?

    Basically I added the analytics account details to the mod, and I confirmed it was the right details. Yet on GA's side it kept saying 'Tracking not installed' - in desperation I tried adding the code by hand and removed the cookie mod and still the same issue. So I went back to using the cookie control mod, re-added the analytics account information and left it running overnight. Before I left the PC running I confirmed with GA that yes, 'Tracking not installed.'

    I've come back to it this morning and all of my visits (right from the beginning) have been logged with GA. Yet still it's saying that the tracking isn't installed. Does anyone have any idea where I'm going wrong?

    Thanks in advance,

  7. #47
    Join Date
    Mar 2013
    Posts
    1
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Hi,

    Can I ask how to change the icon image file. I have changed the green style to a pink one using the PSD template attached, but cannot find where to upload.

    Thank you very much.

    Victor

  8. #48
    Join Date
    Mar 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    Did a quick serch on the thread and didn't see any answers. Has anyone found that their Lightbox doesn't work if the cookie control is enabled?

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

    Default Re: Cookie Control Support Thread

    Quote Originally Posted by beco1979 View Post
    Did a quick serch on the thread and didn't see any answers. Has anyone found that their Lightbox doesn't work if the cookie control is enabled?
    You probably have multiple instances of jquery running at the same time. If that is the case remove one of them and Lightbox should work again

  10. #50
    Join Date
    Mar 2007
    Location
    Worcester UK
    Posts
    127
    Plugin Contributions
    0

    Default Re: Cookie Control Support Thread

    I have installed all the Cookie Control files, and the admin configuration menu control appears.
    However, when I edit the tpl_main_page.php file to include the following as prescribed:

    <!--BOF cookie control script-->
    <?php if (COOKIE_CONTROL_STATUS == 'true'){?>
    <?php require($template->get_template_dir('tpl_cookie_control.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_cookie_control.php');?>
    <?php } ?>
    <!--EOF cookie control script-->

    The easy slider display is broken on the index page.

    http://www.romseybaitandtackle.co.uk...php?main_page=

    I can only find one copy of jscript_jquery-1.5.min.js running on the site.

    Any pointers would be very welcome thanks

    Kevin
    kevin_a

 

 
Page 5 of 18 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3600
    Last Post: 7 Apr 2024, 05:20 PM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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