nols123 Posted February 15, 2017 Share Posted February 15, 2017 (edited) Hello,I have LiveZilla working on my site, but it's connected to the wrong hook. The chatbar only appears when i click on a menu (horizontal bar) it doesn't appear on homescreen / add to cart page or any other page except links on menu bar.It only lets me hook it to the 'displayleftcollumn or displayrightcollumn' - when i run live edit i can see the module but its only on the menu pages.How do i fix this?site www.shop.tacitskills.com - click on classroom / online etc, the bar appears Edited February 15, 2017 by nols123 (see edit history) Link to comment Share on other sites More sharing options...
Adeko.nl Posted February 15, 2017 Share Posted February 15, 2017 Hello nols123, It is hard to help with only this less information, but I will give it a try. Open the livezilla.php (you can find this in your ftp directory modules -> livezilla). Search for 'public function install()', there you can see the hooks that are already registered. Add the hook you wish to add to the module. public function install() { $this->registerHook('displayleftcollumn') && $this->registerHook('displayrightcollumn') && $this->registerHook('HookYouNeed') ; } Now you have to do something like this at the end of your file, but before the last closing tag '}' : public function hookHookYouNeed($params) { return $this->displayleftcollumn($params); } Then in the backoffice of your shop, go to the modules section and find your module. Select the dropdown and choose for 'reset'. Now you should be able to select the hook you just added. As I said, it is hard to give the exact answer with this less information but this should help you in the right direction. Link to comment Share on other sites More sharing options...
nols123 Posted February 15, 2017 Author Share Posted February 15, 2017 Thanks Adeko, that worked perfectly! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now