Noracuts Posted August 7, 2013 Share Posted August 7, 2013 I am using a custom theme which has custom hooks. I am trying to display the Layered Navigation Filters horizontally on my category page only. My theme has a hook call displayCategoryHeader which displays the category image. I have modified the module php file to add the displayCategoryHeader hook. Then I uninstalled and re-installed the module. It now shows that it in in the hook displayCategoryHeader, however it is not there on the page. It still displays on the left. I will edit the CSS to display horizontally but I need it to display in the correct hook. Can anyone help me? I haven't seen any 3rd party modules that will let me do this either. Thanks Link to comment Share on other sites More sharing options...
LightN Posted August 18, 2013 Share Posted August 18, 2013 Just made it for my own shop. Everything is now working perfectly well (sorting, indexing, resetting etc). I can give you a clue to make it but i didn't write the exact steps. First, I created a new hook in the category.tpl like {hook h='horizontalFiltering'} see details http://www.prestashop.com/forums/topic/173027-solved-how-to-create-a-new-hook-in-15-am-i-doing-it-wrong/page__st__20 Second, I tuned the code of blocklayered module (added new function and altered the install method) Third, I resetted the module (reinstalled it) to automatically create new hook Lastly, In ps_hook database table I changed the "position" field to 1 And violia. My new hook is displayed on admin page with blocklayered module on. Hope it will help you as a start point 1 Link to comment Share on other sites More sharing options...
rahulsahay Posted August 27, 2013 Share Posted August 27, 2013 Hi LightN, Could you please suggest how you achieved ? I am using a theme that doesnt have leftColumn. so, i need way to use in category page like what you did. Link to comment Share on other sites More sharing options...
tozi Posted June 3, 2014 Share Posted June 3, 2014 Hi, have you a solution? Link to comment Share on other sites More sharing options...
Prestahost Posted March 13, 2015 Share Posted March 13, 2015 check this link: place blocklayered to the top Link to comment Share on other sites More sharing options...
stevengiraldo Posted March 17, 2015 Share Posted March 17, 2015 On 3/13/2015 at 6:37 PM, Prestahost.cz said: check this link: place blocklayered to the top for homepage top, what's the difference? Thanks. Link to comment Share on other sites More sharing options...
sergioxyx Posted June 7, 2015 Share Posted June 7, 2015 On 3/17/2015 at 9:52 PM, stevengiraldo said: for homepage top, what's the difference? Thanks. Please, someone who knows how to put blocklayered on displayhome hook??!! Link to comment Share on other sites More sharing options...
LauraPresta Posted October 5, 2016 Share Posted October 5, 2016 On 3/13/2015 at 6:37 PM, Prestahost.cz said: check this link: place blocklayered to the top this makes well the blocklayered be at the top, but the layered search is not working. So, it is at top, but not working 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