Magnusvb Posted December 30, 2018 Share Posted December 30, 2018 First time with PrestaShop, so I'm not sure I'm doing it right. I have registrated a new custom hook in the theme.yml file like this: - name: displayMyCustomHook title: displayMyCustomHook description: Display my custom hook Inside that hook I want to display the search bar. So the header.tpl have this code: {block name='header_search'} <div class="header_search"> {hook h='displayMyCustomHook'} </div> {/block} But, when going to Design > Positions in the backend, my custom hook is not displayed in the dropdown menu "Transplant to". What am I doing wrong? Is this possible? /Magnus 1 Link to comment Share on other sites More sharing options...
Greg1234 Posted October 15, 2020 Share Posted October 15, 2020 I have the same problem, resetting / changing the theme (removing shop1.json) doesn't fix the problem. I see only my custom hooks registered by modules, but not by theme. This is clearly a bug. 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