Page 6 of 9 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 84
  1. #51
    Join Date
    May 2009
    Posts
    155
    Plugin Contributions
    0

    Default Re: problems installing cookie consent

    Quote Originally Posted by schoolboy View Post
    The tpl_main_page.php MUST sit inside the COMMON folder(s) of the templates you have installed. If you have tpl_main_page.php in other directories, delete these instances.

    Your asterisk shows you have edited the incorrect file. The one that needs editing sits inside the COMMON folder of your custom template.
    Hi, I will try adding the code to the common/tpl_main_page.php file instead.
    Also I am wary of deleting the other files as I paid someone else to upgrade the website and I don't know if they left them there for a reason i.e. if I delete the others then something else they did may not work

  2. #52
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: problems installing cookie consent

    Quote Originally Posted by PudzPud View Post
    Hi, I will try adding the code to the common/tpl_main_page.php file instead.
    Also I am wary of deleting the other files as I paid someone else to upgrade the website and I don't know if they left them there for a reason i.e. if I delete the others then something else they did may not work
    Create a backup first.

  3. #53
    Join Date
    May 2009
    Posts
    155
    Plugin Contributions
    0

    Default Re: problems installing cookie consent

    Thank you all so much the civicuk one now works perfectly on my 1.3.9 version :)

  4. #54
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: problems installing cookie consent

    Quote Originally Posted by PudzPud View Post
    Thank you all so much the civicuk one now works perfectly on my 1.3.9 version :)
    Well done, you will be the envy of many now

  5. #55
    Join Date
    Sep 2010
    Posts
    448
    Plugin Contributions
    0

    Default Re: problems installing cookie consent

    picandnix..... SHUT UP ;))))

    Was up at 2am on the las communication and 2.30 the morning after LOL

    Bet he 'aint got a slider?

    Getting there and thanks for the help BTW

  6. #56
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: problems installing cookie consent

    Quote Originally Posted by Rizla View Post
    picandnix..... SHUT UP ;))))

    Was up at 2am on the las communication and 2.30 the morning after LOL

    Bet he 'aint got a slider?

    Getting there and thanks for the help BTW
    Lol. Are you any further forward yet? Its a proper pain isn't it.

  7. #57
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: problems installing cookie consent

    Sounds to me like it's more trouble than it's worth wouldn't a sidebox with a link to your privacy page do, save all the aggro
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  8. #58
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: problems installing cookie consent

    the civicuk one is really easy tbh
    choose locations and icons etc
    copy the script provided, place in /includes/templates/(your temp)/common/tpl_main_page.php
    place the script code at the very bottom, JUST BEFORE the closing </body>
    then look at the script for the line saying <script src="/PATH_TO_COOKIE_CONTROL/cookieControl-5.0.min.js" type="text/javascript"></script>
    And change it to say
    <script src="./lib/cookieControl-5.0.min.js" type="text/javascript"></script>
    save and upload
    click the link on the civicuk page for the JS file
    file save as...w/e its called
    upload the file to a folder in your ROOT directory called lib

    all should be working fine
    i may not know how yet, but i soon will....i hope :)

  9. #59
    Join Date
    Sep 2010
    Posts
    448
    Plugin Contributions
    0

    Default Re: problems installing cookie consent

    picandnix...

    No closer.... defo a conflict with EasySlider loading first and as they are on seperate calls (define_main_page.php for the slider) and (tpl_main_page.php) I can't see any easy way around it.... Not as if I could call the jscrip's from one page (in order)

    Trying all the suggestions from general Java forums but nothing works as yet.

    So far I have edidted the EasySlider call to the following.... (not working and about to call it a day)

    <script>jQuery.noConflict(true);</script>
    <script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_iquery.js"></script>
    <script type="text/javascript">


    jQuery(document).ready(function(){

    jQuery("#slider").easySlider({

    auto: true,

    continuous: true,

    numeric: true

    });

    });

    </script>

  10. #60
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: problems installing cookie consent

    Quote Originally Posted by Rizla View Post
    picandnix...

    No closer.... defo a conflict with EasySlider loading first and as they are on seperate calls (define_main_page.php for the slider) and (tpl_main_page.php) I can't see any easy way around it.... Not as if I could call the jscrip's from one page (in order)

    Trying all the suggestions from general Java forums but nothing works as yet.

    So far I have edidted the EasySlider call to the following.... (not working and about to call it a day)

    <script>jQuery.noConflict(true);</script>
    <script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_iquery.js"></script>
    <script type="text/javascript">


    jQuery(document).ready(function(){

    jQuery("#slider").easySlider({

    auto: true,

    continuous: true,

    numeric: true

    });

    });

    </script>
    Might be worth asking Anne in her template thread http://www.picaflor-azul.com/support/viewforum.php?f=7

 

 
Page 6 of 9 FirstFirst ... 45678 ... LastLast

Similar Threads

  1. Multi language Cookie consent
    By JvRossem in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Aug 2015, 10:09 AM
  2. Premature end of script headers: php-script
    By doubletiger in forum General Questions
    Replies: 8
    Last Post: 2 Jul 2006, 09:53 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