Re: Cookie Control Support Thread
I've done a bit more digging and it appears to be a jquery problem on a sub-domain, the Zencart site I installed it on was a test site which was a sub-domain. I've installed it on a www. domain and the cookie control appears ok.
Though I am seeing a problem on IE7 - the text at the top of the box doesn't display correctly - the 'c' icon just repeats obscuring the words 'Cookie Control'. IE8 and IE9 appear ok...
Thanks, Peter
Re: Cookie Control Support Thread
thanks for the update :thumbsup: The lay out of cookie control is out of the box as done by the developers of civic, and I must admit didn't really bother to check on older browsers for that.
Re: Cookie Control Support Thread
Just installed - straight forward for a novice - great. Its on http://www.freight-stop-shop.co.uk/tickets/
I wonder if I missed something -
Normally when you 'mouse over' a button the button changes colour and the mouse pointer changes to a 'hand'.
Why is this not the case when the mouse goes over the 'cookie toggle' button?
Is the cookie toogle button supposed to look as it does? with the 'green 'On' to the right, and the red 'Off' to the left and the On/Off buttons not lined up?
Currently we dont use google analytics - but the 'onAccept' jscript code still calls ccAddAnalytics - should it? I tried setting the analytics string to an empty string - but it is still called - I had expected that with the string empty the code generated for onAccept would not call ccAddAnalytics.
Any advice appreciated.
Allan
Re: Cookie Control Support Thread
Just checked on http://www.civicuk.com/cookie-law/index
and the mouse over changes to a hand - but the image does not change colour,
but this is not the case on my installation.
Allan
Re: Cookie Control Support Thread
Ha-Ha - got it
I compared the JS used on Civics site with the JS supplied in the app and found a difference. I made the following change to
includes/templates/custom/jscript/jscript_cookieControl-5.1.min.php
Code:
<a id="cctoggle" style="background-position-x: 0;">
changed to
Code:
<a id="cctoggle" href="#" style="background-position-x: 0;">
and now the pointer changes to a finger as it should.
Re: Cookie Control Support Thread
Rats - that fixes the pointer but clicking the button returns to the home page. I guess thats why it was taken out.
Can PHP not be used to build a string so that the current page is referenced in full?
Re: Cookie Control Support Thread
How about adding add the top
Code:
<?php
$pageURL = $_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://';
$pageURL .= $_SERVER['SERVER_PORT'] != '80' ? $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"] : $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
?>
and then change
Code:
<a id="cctoggle" href="#" style="background-position-x: 0;">
to
Code:
<a id="cctoggle" href="<?php echo $pageURL ; ?>" style="background-position-x: 0;">
seems to build the correct URL for individual pages - but i am not an expert - so what does anyone think.
Allan
Re: Cookie Control Support Thread
Hi there, iv added my google analytics code to the module in the box provided
but yet after 2 days google is still saying its not installed :S
Re: Cookie Control Support Thread
see my earlier post this thread 8 Jan
Seems that mod doesn't work at all -
Yes the pointer works properly and yes the URL's generated are correct but for whatever reason it no longer enables/disables cookies and I cant see why.
Can anyone help me out with this please.
Re: Cookie Control Support Thread
Quote:
Originally Posted by
tsrplatelayer
see my earlier post this thread 8 Jan
Seems that mod doesn't work at all -
Yes the pointer works properly and yes the URL's generated are correct but for whatever reason it no longer enables/disables cookies and I cant see why.
Can anyone help me out with this please.
I just looked at your site, and it seems to be working fine. Try clearing your cache and cookies