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

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?



Thanks,

Crisdim

In other words my question is where in php files is code before $view->assign(‘top_menus’, $menus_array_name);



Please help me!

Crisdim