Page 11 of 18 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 174
  1. #101
    Join Date
    Dec 2014
    Location
    manchester
    Posts
    62
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Also noticed that if i zoom out the js slide dosnt change it stays at max width but everything else works fine .... maybe this points to a solution iv not got the knowledge to notice

  2. #102
    Join Date
    Feb 2015
    Location
    UK
    Posts
    159
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Has anyone (else) tried this with ZC1.5.4 yet. My results so far are zero lol

    Mike

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

    Default Re: Cookie Control [Support Thread]

    Quote Originally Posted by Mikeondraco View Post
    Has anyone (else) tried this with ZC1.5.4 yet. My results so far are zero lol

    Mike
    It should work just fine on every 1.5.x version.

  4. #104
    Join Date
    Feb 2015
    Location
    UK
    Posts
    159
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Quote Originally Posted by Design75 View Post
    It should work just fine on every 1.5.x version.
    Thanks for that - obviously me then

    Mike

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

    Default Re: Cookie Control [Support Thread]

    Quote Originally Posted by Mikeondraco View Post
    Thanks for that - obviously me then

    Mike
    Do you have a link to your site, that makes it easier to spot problems. Most obviously would be an jQuery error.

  6. #106
    Join Date
    Feb 2015
    Location
    UK
    Posts
    159
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Will do so later, am still fighting with the merge of the tpl_main_page.php as I have a template installed over the top too which has already modified that file. Appears to be |(partly) where my trouble is.

    Mike

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

    Default Re: Cookie Control [Support Thread]

    Quote Originally Posted by Mikeondraco View Post
    Will do so later, am still fighting with the merge of the tpl_main_page.php as I have a template installed over the top too which has already modified that file. Appears to be |(partly) where my trouble is.

    Mike
    If you open your customized tpl_main_page.php, just add the code below right before the </body> tag
    PHP Code:
    <!--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-->
    that's all

  8. #108
    Join Date
    Feb 2015
    Location
    UK
    Posts
    159
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Just worked that out and did exactly that. All the other files I have checked and are installed in the correct directories (am using the Winchester_Black template). I now have the site back (sort of) but if you have a look you will see the issues:

    1 - the left-hand side boxes and white vertical band should not be there and only appear after inserting the cookie control script text

    2 - no cookie control visble


    http://www.dracocrafts.com/dczencart


    My pasted text into tpl_main_page.php shown right at the bottom.

    <script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

    <script type="text/javascript">
    $(function(){
    $('.slide-out-div').tabSlideOut({
    tabHandle: '.handle', //class of the element that will become your tab
    pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>', //path to the image for the tab //Optionally can be set using css
    imageHeight: '50px', //height of tab image //Optionally can be set using css
    imageWidth: '60px', //width of tab image //Optionally can be set using css
    tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left
    speed: 300, //speed of animation
    action: 'click', //options: 'click' or 'hover', action to trigger animation
    topPos: '100px', //position from the top/ use if tabLocation is left or right
    leftPos: '20px', //position from left/ use if tabLocation is bottom or top
    fixedPosition: true //options: true makes it stick(fixed position) on scroll
    });

    });

    </script>

    <div class="slide-out-div">
    <a class="handle" href="http://link-for-non-js-users.html">Content</a>
    <?php echo SLIDE_OUT_CONTENT; ?>
    </div>

    <!--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-->

    </body>

    Mike
    Last edited by Mikeondraco; 16 Mar 2015 at 12:31 PM.

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

    Default Re: Cookie Control [Support Thread]

    Quote Originally Posted by Mikeondraco View Post
    Just worked that out and did exactly that. All the other files I have checked and are installed in the correct directories (am using the Winchester_Black template). I now have the site back (sort of) but if you have a look you will see the issues:

    1 - the left-hand side boxes and white vertical band should not be there and only appear after inserting the cookie control script text

    2 - no cookie control visble


    http://www.dracocrafts.com/dczencart


    My pasted text into tpl_main_page.php shown right at the bottom.

    <script src="<?php echo $template->get_template_dir('jquery.tabSlideOut.v1.3.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.tabSlideOut.v1.3.js' ?>" type="text/javascript"></script>

    <script type="text/javascript">
    $(function(){
    $('.slide-out-div').tabSlideOut({
    tabHandle: '.handle', //class of the element that will become your tab
    pathToTabImage: '<?php echo $template->get_template_dir('tab.png',DIR_WS_TEMPLATE, $current_page_base,'images') . '/tab.png' ?>', //path to the image for the tab //Optionally can be set using css
    imageHeight: '50px', //height of tab image //Optionally can be set using css
    imageWidth: '60px', //width of tab image //Optionally can be set using css
    tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left
    speed: 300, //speed of animation
    action: 'click', //options: 'click' or 'hover', action to trigger animation
    topPos: '100px', //position from the top/ use if tabLocation is left or right
    leftPos: '20px', //position from left/ use if tabLocation is bottom or top
    fixedPosition: true //options: true makes it stick(fixed position) on scroll
    });

    });

    </script>

    <div class="slide-out-div">
    <a class="handle" href="http://link-for-non-js-users.html">Content</a>
    <?php echo SLIDE_OUT_CONTENT; ?>
    </div>

    <!--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-->

    </body>

    Mike
    Are you sure you edited the right tpl_main_page.php ? because even if cookie control is not working this should be visible in the source code
    Code:
    <!--BOF cookie control script-->
    and I do not see that on your site

  10. #110
    Join Date
    Feb 2015
    Location
    UK
    Posts
    159
    Plugin Contributions
    0

    Default Re: Cookie Control [Support Thread]

    Oh right, best go and check then

    Like Arnie, I'll be back...

    Mike

 

 
Page 11 of 18 FirstFirst ... 910111213 ... LastLast

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3661
    Last Post: 30 Mar 2025, 10:30 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