Modul in Backend einbinden

Posted in eZ Publish, 29.04.2013 14:04

In module.php eintragen:

 
$ViewList['list'] = array( 'script' => 'list.php',
                           'functions' => array( 'read' ),
       'default_navigation_part' => 'ezregisternavigationpart',
                           'params' => array('ParamOne', 'ParamTwo'),
                           'unordered_params' => array('param3' => '3Param', 'param4' => '4Param') );

eine menu.ini.appehd.php in den extension-Settings einfügen:

 
<?php /* #?ini charset="utf-8"?

[NavigationPart]
Part[ezregisternavigationpart]=Register

[TopAdminMenu]
Tabs[]=register

[Topmenu_register]
NavigationPartIdentifier=ezregisternavigationpart
Name=Register
Tooltip=Registered 
URL[]
URL[default]=register/list
Enabled[]
Enabled[default]=true
Enabled[browse]=false
Enabled[edit]=false
Shown[]
Shown[default]=true
Shown[edit]=true
Shown[navigation]=true
Shown[browse]=true

PolicyList[]=register/list
*/ ?>