magicska Posted January 16, 2014 Share Posted January 16, 2014 (edited) Hi, I've created a new prestashop hook colled {$HOOK_TOP_MENU}. It show Top Horizontal menu module, it work well, but I've a little problem (sorry for my english): this is my header.tpl code: <div class="span9"> {$HOOK_TOP} </div> </div> </div> <div id="top-menu"> {$HOOK_TOP_MENU} </div> <div id="columns" class="row-fluid"> <!-- Left --> but though top menu is displayed, is not contained in div id="top-menu". This is a firebug screenshot from my index.php: any idea to help me? best regards. Edited January 16, 2014 by magicska (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 17, 2014 Share Posted January 17, 2014 have you transplanted block top menu to your new hook? Link to comment Share on other sites More sharing options...
Sharak Posted January 17, 2014 Share Posted January 17, 2014 I think there's too many </div> after {$HOOK_TOP}. Try deleting 1 or 2. Link to comment Share on other sites More sharing options...
magicska Posted January 18, 2014 Author Share Posted January 18, 2014 Hi, thanks for your posts have you transplanted block top menu to your new hook? of course, the module appear into correct position, but not in correct div I think there's too many </div> after {$HOOK_TOP}. Try deleting 1 or 2. The /div are correct others idea? Link to comment Share on other sites More sharing options...
Sharak Posted January 18, 2014 Share Posted January 18, 2014 (edited) Check .tpl files of all modules that are attached to {$HOOK_TOP_MENU} and make sure non of it starts with </div> Edited January 18, 2014 by Sharak (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts