Replacing the Main Menu with Mega Menu

You are here

rekaeps

Replacing the Main Menu with Mega Menu

I'm looking to replace the main menu utilizing the TB Mega Menu Module. I need to put it into the region that the current menu is located. I've defined the new region in the .info file but when I take a look at the page.tpl, I'm a bit perplexed on where to drop the PHP code. How is the currentmenu generated? Is it in a region or generated separately? Thanks.