Jump to content

Where is displayMobileHeader?


Recommended Posts

It's been a while, so bear with me if this is a stupid question :)


In the FrontController I have


'HOOK_MOBILE_HEADER' => Hook::exec('displayMobileHeader')


In my mobile theme's header.tpl I have




but if I check BO --> Modules --> Positions (Display non-positionable hooks check), I cannot find the Mobile Header.


What am I doing wrong?



Share this post

Link to post
Share on other sites

Thanks, that explains a lot!

But if it is not a standard hook, why did the developers put it in the FrontController?

Edited by Guest (see edit history)

Share this post

Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More