I want to (Magento ver. default menu in my other phtml file. how to call it? I want to display menu onclick

display on hover


The menu is just a phtml file, so basically all you need to do is make sure you create a new block within you layout.xml to add this block there as well. Only thing you need to keep in mind is that you should give it a unique name and maybe call it within the parent's template file using $this->getChildHtml('my_menu_name');.

After that you might have to do some styling, because it might be that the menu is styled with selectors that are unique for the header or something.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.