How to modify submenu(dropdown) content in top_menu.tpl

Hi guys,

I have to change/modify the dropdown content (submenus) of my Catalog top menu.

Is anybody knows where I can change the way that fill $topmenu.subitems.

Thanks in advance,


Not sure what you are asking but if you are looking to change the items in the top menu then you need to go to Design > Top Menu in Admin.

That’s clearly. My question is how to override the method that fill $top_menus array?

I have to add any links to submenus dynamicaly.

Also I have to limit to show first “n” numbers categories and add link “more…”, because I will modify dropdown to horizontal submenu, but that have to affect only in top menu.

May be any hook?