Zend Layout in ZF2 -
how can set default layout in zf2 if layout folder out side module directory

you can set layout anywhere want doesn't have in modules directory.
just set inside modules config
'view_manager' => array( 'display_not_found_reason' => true, 'display_exceptions' => true, 'doctype' => 'html5', 'not_found_template' => 'error/404', 'exception_template' => 'error/index', 'template_map' => array( 'layout/layout' => '/anypath/you/want/view/layout/layout.phtml', ), 'template_path_stack' => array( '/anypath/you/want/view', ), ),
Comments
Post a Comment