K-G Posted January 14, 2014 Share Posted January 14, 2014 Hi, I've updated a shop from 1.4.4.0 to the latest version 1.5.6.1. A custom theme is being used. In my header.tpl there's the call {$HOOK_TOP}, which printed login/logout and language links. But in the current version there's no output of this hook. Did something change in $HOOK_TOP? Or do I have to activate something in the backend? Best Regards Link to comment Share on other sites More sharing options...
Sharak Posted January 14, 2014 Share Posted January 14, 2014 URL, please Link to comment Share on other sites More sharing options...
vekia Posted January 14, 2014 Share Posted January 14, 2014 hello can you please verify modules > positions tab in your back office? there is a list of modules attached to certain hooks. search for "displayTop" modules list (not displayHeader!) have you got modules there? Link to comment Share on other sites More sharing options...
K-G Posted January 15, 2014 Author Share Posted January 15, 2014 Hi, the module is installed, activated and in the correct position (see attachments). The code snippet in the header.tpl: <div id="header_right"> {$HOOK_TOP} </div> The output in the Browser: <div id="header_right"> </div> I even tried it with {$displayTop}, {$HOOK_displayTop} and {$hook_displayTop}. No output. I disabled the Smarty Cache. Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2014 Share Posted January 16, 2014 ok, so with hooks configuration everytihng looks well. problem is somewhere else, for example in frontController (classes/controllers/) which doesn't create hook_top variable. can you show contents of this file ? Link to comment Share on other sites More sharing options...
Sharak Posted January 16, 2014 Share Posted January 16, 2014 Show modules you have hooked to displayHeader on Module positions page. Link to comment Share on other sites More sharing options...
vekia Posted January 16, 2014 Share Posted January 16, 2014 well, even without displayHeader css / js files displayTop should output some code to display. for now, there is no code :/ so i suppose that controller doesn't include hook_top variable (or it contents) properly Link to comment Share on other sites More sharing options...
Sharak Posted January 16, 2014 Share Posted January 16, 2014 Probably you're right but I noticed that most modules besides their proper hook are also attached to hook displayHeader. If this hook is empty in K-G's shop then maybe displayTop (which is in the header, isn't it?) doesn't load any modules either. Link to comment Share on other sites More sharing options...
Recommended Posts