kingsinnersoul Posted July 16, 2013 Share Posted July 16, 2013 (edited) Hello, I have followed Nemo's tutorial to add a module to a new hook in Prestashop 1.5 ( I am using 1.5.4.1). I did the following: Called my hook: myProductListTopFilterHook Created a copy of the blocklayered.tpl file and named it blocklayered_myFilter.tpl In the blocklayared.php I have added: public function hookmyProductListTopFilterHook($params) { return $this->display(__FILE__, 'blocklayered_myFilter.tpl'); } I wanted to add the module to the category.tpl area, so I have added the following there: {hook h='myProductListTopFilterHook'}[/size] The module is transplanted and is shown there. However, I am facing two problems now: First, the module will not work in the new hook. I can change the price inputs, check the checkboxes, and select manufacturers, etc but it will not trigger the filter. Second, the although the module is showing, it is not showing where I want it to. I placed the {hook h='myProductListTopFilterHook'} inside a table > tr and it is showing above the table. Can anyone help me solve those issues please? Thank you Edited July 16, 2013 by kingsinnersoul (see edit history) Link to comment Share on other sites More sharing options...
kingsinnersoul Posted July 16, 2013 Author Share Posted July 16, 2013 ENGLISH? 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