wzshop Posted October 21, 2014 Share Posted October 21, 2014 Hi, I am using the default theme of the newest version of PS and i am trying to place/hook the newsletter block to the topcolum, but it says it is not possible. Is there a way around this? Thanks. Link to comment Share on other sites More sharing options...
PrestaShark Posted October 24, 2014 Share Posted October 24, 2014 (edited) HI!You need to add this new hook in modules/blocknewsletter/blocknewsletter.php file If You know exactly name of your desired hook You need to add it into public function install() { if (!parent::install() || !$this->registerHook(array('header', 'footer', 'actionCustomerAccountAdd'))) return false; like this public function install() { if (!parent::install() || !$this->registerHook(array('header', 'footer', 'yourdesiredhook', 'actionCustomerAccountAdd'))) return false; than find public function hookFooter($params) { return $this->hookDisplayLeftColumn($params); } and add below public function hookYourDesiredHook($params) { return $this->hookDisplayLeftColumn($params); } Now BlockNewsletter can be moved to new position (hook) You just added -> YourDesiredHook Edited October 24, 2014 by PrestaShark (see edit history) 1 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