You need to add a menu.ini.append.php to the settings directory of your extension.
<?php /* #?ini charset="iso-8859-1"?
[NavigationPart]
Part[ezformsnavigationpart]=Forms
[TopAdminMenu]
Tabs[]=[modulename]
[Topmenu_[modulename]]
NavigationPartIdentifier=ez[modulename]navigationpart
Name=[Text you want to appear on tab]
Tooltip=[Tooltip when you mouse over the tab]
URL[]
URL[default]=[URL to extension main function]
Enabled[]
Enabled[default]=true
Enabled[browse]=false
Enabled[edit]=false
Shown[]
Shown[default]=true
Shown[navigation]=true
Shown[browse]=true
*/ ?>
To ensure the Tab is selected when you are within your extension you need to define the function views in modules/modulename/module.php like this
tab in the top - it's easy. i found description how to do it in documentation.
Thing what i missed - how to craete submenu in the left side. I need it , because my extension has several function and i cannot put everything to top menu.
Looked to all ini files, and php files, but i did not found where it is created. I cannot believe, that menu is hardcoded to templates...
@Lukasz
This is something I posted as a suggestion back in May 05 http://ez.no/community/bugs/ability_to_include_extension_specific_left_hand_menus_in_admin_interface
Do you know if there is any chance that this may be added ? Having modifed pagelayout for admin just for an extension is a real overkill and makes upgrades an issue.
@Vytis In the meantime I end up adding the extension specific menu items to the main content area via an include.