projects / org / ezpublishlegacy / bugmebar
Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
bugmebar | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
eZ Publish extension providing a cookie based pop-up notice.
Based on jquery.bugmebar
and jquery.cookie
Portions copyright Enterprise AB Ltd (c) 2014 http://eab.uk
jquery.bugmebar copyright Chris Wharton
jquery.cookie copyright Klaus Hartl
GPL 2.0
Install and activate the extension in the usual way:
Under [ExtensionSettings] add:
ActiveExtensions[]=bugmebar
Reload the autoload arrays
bin/php/ezpgenerateautoloads.php
Clear the cache:
bin/php/ezcache.php --clear-all
To use this add some code to pagelayout.tpl in your design extension:
Add Javascript to call bugbear. For example:
{literal}
//![CDATA[
jQuery(document).ready(function(){
jQuery('div#page').bugme({
remember: true, // this stores a cookie to remember cancellation of bugme bar
expireIn: 28, // set expiry of remember cookie (in days)
cookieName:"eab_message_cookie_1",
message: "Please note that, from April, access to parts of this website and associated resources will only be available to members. Please click here for more details" // message that goes inside the bug me bar
});
});
//]]>
{/literal}