When i have another module which i want to set as a child module of ZfcAdmin, the layout doesn't work or better, do not load that.
<?php
//module.config.php
namespace OtherModule;
return array(
'controllers' => array(
'factories' => array(
'Employee\Controller\Employee' => 'Employee\Factory\Employee',
)
),
'router' => array(
'routes' => array(
'zfcadmin' => array(
'child_routes' => array(
'employee' => array(
'type' => 'Literal',
'options' => array(
'route' => '/employee',
'defaults' => array(
'controller' => 'Employee\Controller\Employee',
'action' => 'index',
),
),
'may_terminate' => true,
//............//
it shows only view scripts content of employee.
I need to set a namespaced module.config.php because my doctrine orm mapping does need it.