Guest Posted June 18, 2015 Share Posted June 18, 2015 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 {$HOOK_MOBILE_HEADER} but if I check BO --> Modules --> Positions (Display non-positionable hooks check), I cannot find the Mobile Header. What am I doing wrong? Cheers! Link to comment Share on other sites More sharing options...
selectshop.at Posted June 18, 2015 Share Posted June 18, 2015 (edited) This hook is in the block: // These hooks aren't used for the mobile theme. // Needed hooks are called in the tpl files. So you will not find it on back-office. Edited June 18, 2015 by selectshop.at (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted June 18, 2015 Share Posted June 18, 2015 (edited) Thanks, that explains a lot! But if it is not a standard hook, why did the developers put it in the FrontController? Edited June 18, 2015 by Guest (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted June 18, 2015 Share Posted June 18, 2015 Sorry, I editted the topic. It is standard, but not for hooklist on back-office, only for template call. 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