Jump to content

Problem with new prestashop 1.5 hook


Recommended Posts

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:

 

 

post-377187-0-25646000-1389888471_thumb.png

 

any idea to help me?

 

best regards.

Edited by magicska (see edit history)
Link to comment
Share on other sites

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

×
×
  • Create New...