Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
In CE4 I had a great deal of help from forum members on getting the Cookie compliance aspect of a European site effective. I noted this morning that even on Facebook, they are prompting me as a user that cookies are in use.
Is the inclusion of a cookie use message on the feature list? There must be many TTG users who have to design their site to comply with European law.
I started to try and incorporate what I had in CE4 but I have yet to see if it works properly as it was based on the integrated WP blog with a WP plugin.
Making changes and testing is sooooooo much easier in BACKLIGHT. I just don't like treading where I don't ought to be naturally.
Regards,
TomO
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Offline
I've been meaning to ask if anything was in the pipeline. Or if anybody knew of an easy to implement solution.
Offline
I got this to work OK in CE4 but this is now a basic requirement here in Europe (even if the referendum
goes the wrong way). It seems like a basic option to turn on or off especially as every large web presence has to declare the use of data collection cookies when one uses their sites. Wordpress offer a default plugin for their .wordpress domains now as standard. I have yet to work out what to do with BL in this context.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
have you seen this site: https://cookie-script.com/
you could pop the script in using phplugins.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
And is seems to work just fine. I put it in the ttg_footer_bottom hook on my secondary test site:
http://backlight2.barbeephoto.com/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Not being European, I don't know the ins and outs of this one so well. If those of you whom this affects would like to consult, though, I would be happy to put some work into providing official support within Backlight. We would probably want to begin by working up a solution using PHPlugins. Then, when we're satisfied it's adequately functional and compliant, I can work it into a Backlight update.
I've just Googled and come up with these:
https://silktide.com/tools/cookie-consent/
Both look like viable places to start. Those of you who would be using this, can you please check them out and let me know whether one seems preferable to the other in whatever ways?
Offline
Thanks Matthew and Rod,
Will take a look at these and do some testing and get back to you.
Regards,
TomO
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Hey Matt,
The site suggested by Rod works fine, but you have to subscribe to get the code, customize and remove the 'built by' tag, otherwise the script is pulled from their site.
I also like the look of the Silk Tide product and I'll be playing with that a little later
Offline
Hi Matt,
I've tried the Silktide version and the way they present the customisation is not a million miles away from the way you offer customisation of pages and templates etc. It is relatively numpty proof. I don't like making a product look cheap by using something that says supplied free by xxx and BL looks the biz so anything tacked on that looks like a free loader take the polish off IMHO.
If you could offer this option as part of BL so that we could point to our policy page and take on the styling applied to the footer or wherever a user places it that would be great. Quite where this javascript is pulled from is outside of my spectrum of knowledge. Would you have to dump that somewhere where we pulled it for use in our sites?
You may have gathered that this is darkside stuff for me so apologies for that.
I know that a service like this here in Europe just makes it even more attractive to use BL as this issue is a real PITA
Test version visible in Tom's Test site
Getting there - cannot wait for the WP plugin.
This is so much easier to work with. The divorce was a good idea.
Regards,
TomO
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
I've given these a bit of a play this afternoon. CookieCuttr hasn't been updated since 2012 and has a dependency on a jQuery Cookie plugin that has since been superseded by a newer plugin, so probably not the best option.
Silktide seems pretty legit, and you can pretty easily implement by pasting its code into this PHPlugin function:
function ttg_head( $style, $path ) {
echo '
<!-- Silktide here -->
';
return false;
} // END
Offline
Thanks Matthew,
I put the code in the ttg_footer in my test yesterday. Is it better practice to go in the head? As you say this outfit looks legit and it works OK.
Regards,
TomO
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
They seem to want to be in the head. I don't know whether it's just as well to put them in the footer, or what; haven't tried it.
Offline
Thanks Matt,
Silktide working nicely, seems to load quicker than cookie-script as well.
Offline
Also, for those of us who worry about doing the right thing
Here's a blog link from Silktide that just about sums the EU cookie law up nicely - https://silktide.com/the-stupid-cookie- … d-at-last/
Offline
Nice link Lofty.
I'll settle for Silktide. It works.
TomO
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
I have been building a new website with Backlight in a sub domain of my main CE4 site. I live in the UK. At the risk of asking a silly question - does building a website using backlight imply use of cookies and therefore I too need to deal with the matter being discussed in this topic? Or are the members interested in this topic doing something more advanced with their sites that call for the addition of cookie warnings as discussed here? Advice and guidance welcome.
Offline
this site looks like it's got a lot of information, including a free e-book on the cookie law: http://sitebeam.net/cookielaw/
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod for link to the cookie info site. What a lot of fuzzie mumbo jumbo that law is. Typical EU rubbish IMHO. Looks like I should give thought to including something as it seems even my social media buttons for Facebook and Flickr are in scope. I look forward to casting my Brexit vote in a few days time?
Tony
Offline
I am a dummy in programming web sites. I want only to use them. But as you heard already the EU decided to give a message to the user of the website if there are cookies installed. Can I get a step by step solution in which file I have to put in which code.
I think that I want to use the "Cookie Script" page to generate the code. Do I need to buy the premium discount to get the JS file?
It would be great if someone can explain it to me how to do it step by step.
Thank you very much for your help
Offline
You'll have to ask the Cookie Script people about purchasing their script. It does look like you need to purchase the premium version to download the code. The free version pulls the code from their site. (I only tried the free version)
You'll need to use phplugins to insert the script into your page. I'd try using the ttg_scripts hook since that's now available (I don't believe it was when this subject was initially brought up).
Documentation for using phplugins is here: http://backlight.theturninggate.net/doc … _phplugins
In your Backlight download, in the backlight/custom/phplugins folder you'll see a number of .php files. Using a plain text editor, open the one named phplugins-sample.php.
You may wish to then save it as simply phplugins.php. Up to you.
Around line 167 is the beginning of the User Functions area. Place your code after the SET USER FUNCTIONS BELOW area.
(You'll see some sample functions there too. They are commented out and are not active, but are there for you to use if you wish)
This is what you want to place there:
function ttg_scripts( $style, $path ) {
echo '
<!-- Your code goes here -->
';
return false;
} // END
Replace <!-- Your code goes here --> with the code supplied to you.
If that code has any single quote marks ('), you'll need to escape them by placing a backslash \ in front of each instance of a single quote in the code.
Save the file and upload it to yoursite.com/backlight/custom/phplugins/
Log into Backlight and go to your page template. Scroll down to the Advanced Customization area and under PHPlugins, enabled your phplugins file.
That should do it.
If your site goes blank, then there is a syntax error in your phplugins file. Likely a missing closing brace } or semi-colon. If you can't find it, post the contents of the file here and someone will take a look.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1