Jump to content

"DisplayNotFound" hook does not exist in Back-Office


Recommended Posts

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 by François Zéayon (see edit history)
Link to comment
Share on other sites

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

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...