Share » Forums » Developer » New Tab at Administration Interface

New Tab at Administration Interface

New Tab at Administration Interface

Tuesday 10 June 2008 3:15:01 am - 2 replies

Author Message

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.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu