Git Product home page Git Product logo

bugmebar's Introduction

#bugmebar

eZ Publish extension providing a cookie based pop-up notice. Based on jquery.bugmebar and jquery.cookie

##Copyright

Portions copyright Enterprise AB Ltd (c) 2014 http://eab.uk jquery.bugmebar copyright Chris Wharton jquery.cookie copyright Klaus Hartl

##License

GPL 2.0

##Requirements

  • eZ Publish 4 or eZ Publish 5 Legacy Edition.
  • ezjscore extension

##Install

Install and activate the extension in the usual way:

  1. Copy the bugmebar folder to the extension folder.

  2. Edit settings/override/site.ini.append.php

  3. Under [ExtensionSettings] add:

    ActiveExtensions[]=bugmebar

  4. Reload the autoload arrays

    bin/php/ezpgenerateautoloads.php

  5. Clear the cache:

    bin/php/ezcache.php --clear-all

##Usage:

To use this add some code to pagelayout.tpl in your design extension:

  • Add class bugmebar to the div that should have the notice added e.g. <div id="page" class="bugmebar" ....>

  • Add Javascript to call bugbear. For example:

    {literal} <script type="text/javascript"> //Please click here for more details" // message that goes inside the bug me bar }); }); //]]> </script> {/literal}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.