wpatrykw Posted February 21, 2014 Share Posted February 21, 2014 How can I move 'Homeslider' module to HOOK_RIGHT_COLUMN? I need a help/instruction... Link to comment Share on other sites More sharing options...
NemoPS Posted February 21, 2014 Share Posted February 21, 2014 As a matter of fact, you can simply rename hookDisplayHome to hookDisplayRightColumn. (homeslider.php) and hook it to the right column from modules->positions. However, things will be screwed up so you'll have to deal with a lot of css changes then Link to comment Share on other sites More sharing options...
wpatrykw Posted February 21, 2014 Author Share Posted February 21, 2014 Thank you I changed: Line 62: if (parent::install() && $this->registerHook('displayRightColumn') && $this->registerHook('actionShopDataDuplication')) Line 651: public function hookDisplayRightColumn() And I uninstalled the module and install again Link to comment Share on other sites More sharing options...
NemoPS Posted February 21, 2014 Share Posted February 21, 2014 Does it work then? Remember to add $params to the hook method as parameter Link to comment Share on other sites More sharing options...
wpatrykw Posted February 21, 2014 Author Share Posted February 21, 2014 A pity that I removed. I could copy the method with the new name. But the solution is good 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