François Zéayon Posted October 17, 2018 Share Posted October 17, 2018 (edited) Hello. Today, I want to customize my "not found" page. For this purpose, I opened not-found.tpl of the "Classic" theme and saw the "DisplayNotFound" hook. This seemed perfect to me and I sought for it in the "positions" page of Prestashop 1.7.4.2 back-office but didn't find it. I, then, sought for it in modules and source files but I get no usage at all. Did I miss something? How may I use this hook? Is this hook plugged? Thank you. Edited October 17, 2018 by François Zéayon (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted October 17, 2018 Share Posted October 17, 2018 10 minutes ago, François Zéayon said: Hello. Today, I want to customize my "not found" page. For this purpose, I opened not-found.tpl of the "Classic" theme and saw the "DisplayNotFound" hook. This seemed perfect to me and I sought for it in the "positions" page of Prestashop 1.7.4.2 back-office but didn't found it. I, then, sought for it in modules and source files but I get no usage at all. Did I miss something? How may I use this hook? Is this hook plugged? Thank you. Maybe it doesn't appear in Positions list because any module is hooked in this position? Link to comment Share on other sites More sharing options...
François Zéayon Posted October 17, 2018 Author Share Posted October 17, 2018 17 minutes ago, joseantgv said: Maybe it doesn't appear in Positions list because any module is hooked in this position? Thank you for this question. In fact, I do not see this hook even when I want to add a module in one of these positions ("Greffer un module" in French). Link to comment Share on other sites More sharing options...
PizzaPie Posted January 20, 2021 Share Posted January 20, 2021 Hi, "displayNotFound" hook is still not showing in backend in Prestashop 1.7.7 :-( Did you find a way to solve this problem? Link to comment Share on other sites More sharing options...
joseantgv Posted January 20, 2021 Share Posted January 20, 2021 hace 2 horas, PizzaPie dijo: Hi, "displayNotFound" hook is still not showing in backend in Prestashop 1.7.7 😞 Did you find a way to solve this problem? Do you know how to insert it directly in database? Link to comment Share on other sites More sharing options...
PizzaPie Posted January 20, 2021 Share Posted January 20, 2021 No, I'm afraid I don't know 😅 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