+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
Web Development Thread, Website - Cookie law in Coding and Web Development; Originally Posted by DJ-Jonesy How would i get this working with a Joomla site? could i copy it into the ...
  1. #16

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131
    Quote Originally Posted by DJ-Jonesy View Post
    How would i get this working with a Joomla site? could i copy it into the index.php?
    If you use Google Analytics I've just come across this Cookie Law joomla plugin. As I don't use GA this is of no use to me. So what I've done is open the index.php page for the template I'm using, created the code I need to put before the </head> tag, and made the necessary changes* to any javascript elements which set analytics cookies.

    *

    1. Modify the <script> tag so that the type attribute is "text/plain" rather than "text/javascript"
    2. Add a class of "cc-onconsent-analytics" to the <script> tag


    If you click the See example link on the page you'll see what to do.

  2. #17
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,194
    Thank Post
    771
    Thanked 231 Times in 122 Posts
    Blog Entries
    1
    Rep Power
    91
    Quote Originally Posted by DJ-Jonesy View Post
    How would i get this working with a Joomla site? could i copy it into the index.php?
    Have a look at EU Cookie Directive Joomla Plugin + | Chris Potter | PHP Coding, Joomla, Jquery, Media Centre Hacking, Server Help / Tutorials

  3. #18

    Join Date
    Feb 2009
    Posts
    193
    Thank Post
    5
    Thanked 17 Times in 15 Posts
    Rep Power
    16
    Ok thats all working now but i run Rok newsflash stories and cant find the java code anywhere to edit any help in pointing in the right direction?

    THanks



SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Cookie Law
    By mellowip1983 in forum Web Development
    Replies: 10
    Last Post: 29th June 2012, 12:11 PM
  2. ICO gives website owners one year to comply with cookies law
    By beeswax in forum EduGeek Joomla 1.5 Package
    Replies: 25
    Last Post: 6th May 2012, 10:47 PM
  3. Replies: 6
    Last Post: 10th June 2011, 10:12 AM
  4. Replies: 0
    Last Post: 10th May 2011, 12:24 PM
  5. Replies: 0
    Last Post: 8th March 2011, 11:42 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •