KB Software Documentation
0.1.01

Standards

  • Standards
  • Django / Python Code Standards
  • Documentation
  • Ember / JavaScript Code Standards
  • Sys-Admin and Configuration Management
  • Technology Standards
  • UI Standards

Sales

  • Sales

Process

  • Process
  • Development Environment
  • Checklist
  • Monitor - Elastic APM
  • Workflow

Customer Support

  • SEO
  • Backup (PC/Laptop Repair)
  • Google Apps

Master

  • Salt Master
  • devpi

Minion

  • Salt Cloud - Install
  • Salt - Provision
  • Fabric
  • Database
  • Deploy
  • Deploy on Windows
  • Release
  • Search
  • Install SSL Certificate

Diagnostics

  • Diagnostics
  • Issues
  • Microsoft Office 365
  • Postgres
  • Ubuntu Notes

Site

  • Alfresco Community Edition
  • Backup
  • Backup Dropbox
  • Cache
  • Site - Configuration
  • Pillar
  • Rename a Digital Ocean droplet
  • Site Maintenance Mode
  • Authentication
  • Celery (using Redis)
  • Firewall
  • FTP
  • Google
  • Mailgun
  • Maintenance
  • Restore (as a task)
  • SOLR
  • Create SSL Certificate
  • Obtain and configure ssl certificate on nginx with letsencrypt
  • Remove a site from a server
  • Xero

Development - Django

  • Django
  • Django Applications
  • Django Auth
  • Django Field Types
  • Django Forms
  • Django Media
  • Django Migrations
  • Django Reversion
  • Django Static
  • Django Testing
  • Django Thumbnails
  • Django View

Development

  • Journal
  • Learning
  • Activiti
  • Development Environment
  • Captcha
  • Chosen - Select Box
  • CKEditor
  • CodeMirror Editor
  • Cookie Confirm
  • Debug
  • Django Debug Toolbar
  • ElasticSearch
  • Ember
  • Ember AddOns
  • Ember Fields
  • Deploy a project for the first time
  • git
  • GitLab
  • grunt
  • Google Development
  • LESS
  • Logging
  • Magento XMLRPC API
  • Move a site from Sqlite to Postgresql
  • Pagination
  • PDF Object
  • pytest
  • Requirements
  • Django Rest Framework
  • Restore
  • S3
  • sass
  • Scripts to aid the development process
  • SiteMap
  • Social
  • Testing
  • Time zones
  • Development Tools
  • Web Fonts and favicons
  • Domain

Apps

  • api
  • base
  • block
  • Blog
  • booking
  • Checkout
  • compose
  • Contact
  • crm
  • enquiry
  • Finance
  • Image Gallery
  • GDPR
  • invoice
  • Job
  • login
  • mail
  • MailChimp
  • Monitor
  • pay
  • Report
  • search
  • Workflow

Project

  • Simple CMS

PHP

  • PHP
  • Drupal

Detailed Notes

  • devpi (in detail)
  • Restore (in detail)
  • LetsEncrypt - DNS
  • Obtain and configure ssl certificate on nginx with letsencrypt - Manual Configuration

Old Notes

  • Adding Angular to Django Project
  • Backup
  • Old Notes
  • Database
  • Files
  • Backup
  • Monitor
  • Restore - Server
  • Amazon
  • Amazon Database
  • Amazon S3
  • Digital Ocean
  • Salt Cloud - Install (Legacy Notes)
  • Rackspace
KB Software Documentation
  • Docs »
  • Cookie Confirm
  • View page source

Cookie ConfirmΒΆ

In your browser navigate to:

https://silktide.com/tools/cookie-consent/download/
  1. Use Wizard to select the options closest e.g. light-top (5th item)
  2. Add link in step 2 (if required)
  3. Copy the code in step 3 e.g.:
<!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type="text/javascript">
  window.cookieconsent_options = {"message":"This website uses cookies to ensure you get the best experience on our website","dismiss":"Got it!","learnMore":"More info","link":null,"theme":"light-top"};
</script>

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>
<!-- End Cookie Consent plugin -->

Get the javascript file (see the src in second script tag above e.g.):

wget https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js

Get the theme css file (name of theme from the with .css added):

wget https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/light-top.css

Edit cookieconsent.min.js find the text:

i="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/"

and change to the directory you plan to place the css (for same directory as html file set to an empty string) to specify the static directory of a django project e.g.:

i="/static/vendor/css/"

Edit the css file as required and place in the correct directory

Insert the code retrieved from the wizard (alter the src in the second script tag to match the path from your server) e.g.:

/static/vendor/js/
Next Previous

© Copyright 2016, KB Software Ltd

Built with Sphinx using a theme provided by Read the Docs.