That's an example from one of my modules:

return array(
        'di' => array(
                'instance' => array(
                        'Zend\View\Resolver\TemplatePathStack' => array(
                                'parameters' => array(
                                        'paths' => array(
                                                'account' => __DIR__ . 
'/../view',
                                        ) ,
                                ) ,
                        ) ,
                        // Setup the router and routes
                        'Zend\Mvc\Router\RouteStack' => array(
                                'parameters' => array(
                                        'routes' => array(
                                                'account' => array(
                                                        'type' => 
'Zend\Mvc\Router\Http\Literal',
                                                        'options' => array(
                                                                'route' => 
'/account',
                                                                'defaults' => 
array(
                                                                        
'controller' => 'Account\Controller\IndexController',
                                                                        
'action' => 'index',
                                                                ) ,
                                                        ) ,
                                                ) ,
                                        ) ,
                                ) ,
                        ) ,
                ) ,
        ) ,
);

You should setup your route and the template path. Thi

-----
Hasan H. Gürsoy (HHGAG)
--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Skeleton-Module-and-hello-world-tp4575541p4576522.html
Sent from the Zend Framework mailing list archive at Nabble.com.

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to