Re: problems installing cookie consent
Quote:
Originally Posted by
schoolboy
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 :(
Re: problems installing cookie consent
Quote:
Originally Posted by
PudzPud
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.
Re: problems installing cookie consent
Thank you all so much the civicuk one now works perfectly on my 1.3.9 version :)
Re: problems installing cookie consent
Quote:
Originally Posted by
PudzPud
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 :cool:
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
Re: problems installing cookie consent
Quote:
Originally Posted by
Rizla
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.
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
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
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>
Re: problems installing cookie consent
Quote:
Originally Posted by
Rizla
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