#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:
-
Copy the
bugmebar
folder to theextension
folder. -
Edit
settings/override/site.ini.append.php
-
Under
[ExtensionSettings]
add:ActiveExtensions[]=bugmebar
-
Reload the autoload arrays
bin/php/ezpgenerateautoloads.php
-
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}