View Single Post
  #1 (permalink)  
Old 04-22-2008, 05:10 PM
kelye kelye is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
Default custom view directory structure

hello !
i'm having some problems with a custom directory structure for a project

the project is small and i don't want 5 directories in 'view/scripts' with 1 file in each of them. so... how can i set the default view folder for all my controllers/actions to 'application/views/scripts' ?

and also set the default extension to .php not .phtml

i've manage to set the layout.phtml with
PHP Code:
$layout Zend_Layout::startMvc(array('layoutPath'=>BASE_DIR 'application/views'));
$layout->setViewSuffix('php'); 
but i can't find a way to change the default behaviour for views

thanks for the time !
Reply With Quote