artemu78 Posted July 19, 2013 Share Posted July 19, 2013 I want to move module blocklayered from left column to center. I changed blocklayered.php, install function I`ve added registering hook like this: ... && $this->registerHook('displayHome') ... Also, i added function to serve hook: public function hookDisplayHome($params) { return $this->hookLeftColumn($params); } But it never appear in page center. Please help me to move this module. What should i do else? Link to comment Share on other sites More sharing options...
xuderman Posted January 16, 2014 Share Posted January 16, 2014 displayHome is hook used to display modules on landing/index page dont you want to display it in center of category page ? Link to comment Share on other sites More sharing options...
ender666 Posted July 12, 2014 Share Posted July 12, 2014 Would like to have block loayered in center top of category page (presta 1.6) can someone advice how? Link to comment Share on other sites More sharing options...
Sharak Posted October 8, 2014 Share Posted October 8, 2014 Tried to move filters to center column but no luck. Main problem is that center column or category page don't have any hooks that you could attach blocklayered module to. You can display filters in category page by adding this: {include file="$tpl_dir./modules/blocklayered/blocklayered.tpl"} to category.tpl but it still has to be attached to left_column and it has like 50% functionality in center column. So only solution for this is to hide left column block with css and add some changes to module's .js and .tpl files. 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