Module list menu used in menu themes

Hi.

I’m trying to make a new sidebar menu with the modules as appear in Header in the themes, so, i’m watching the _headerModuleList.tpl in themes folder to make an idea how to do it, but i feel confused about that.

What i need is the code to access the grouped module list and its submodules with links.

I hope you can help me.

Thanks for help

This is generated by the smarty.php. The best way is to search for the variables being generated for the actual menu/navigation items and then find where they are being generated and how.

Thanks,

Will.