Forums / Developer / New Tab at Administration Interface

New Tab at Administration Interface

Author Message

Michael Scofield

Tuesday 10 June 2008 3:15:01 am

Hello,

I'm trying to create a new Tab at the administration interface to make an interface to manage some additional tables I have in the database.

I changed the menu.ini.append.php and now I have a tab showing at the back end.

But I don't know how to proceed from this step.

Do I have to create a module?

The screens I need are from basic management. For each table I want to have a link to manage the table. When I click this link, it's supposed to show me buttons to Insert a new registry, Search for inserted registries, delete and edit.

Do I need a module for that?

Thank you
Michael Scofield

Piotrek Karaƛ

Tuesday 10 June 2008 9:43:20 am

If you managed to create a tab, you're almost there. But of course module view will be necessary for the tab to be able to point to. So yes, you need a module and view(s). You would probably at least need views like browse and edit. Deletion and adding_blank can usually be combined within browse view, but that's up to your preferences.

If you plan more than one view, you may want to create a left-side menu for that tab. This is defined in the module.php, the definition file for your module, with the following line for each view array:

'default_navigation_part' => 'somecustomnavigationpart',

and has corresponding templates in /design/admin/templates/parts/*

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

anry gon

Tuesday 17 June 2008 1:49:31 am

try add
extension/ext_name/design/standart/templates/ext_name/parts/menu.tpl
and

$Result ['left_menu'] =  'design:ext_name/parts/menu.tpl' ;

in your view file
It's works in my case.