Thread: Plugins
View Single Post
  #4 (permalink)  
Old 04-28-2007, 09:52 PM
jap jap is offline
Junior Member
 
Join Date: Apr 2007
Posts: 23
Default

When you use render() zend will automaticly search for /views/scripts/actionname/actionname.phtml

But, you can use custom locations or you can add directories where zend view has to look for the controllers like this:
PHP Code:
$view->addScriptPath('/path/to/app/views');
$view->addScriptPath('/path/to/custom/'); 
You can find more about this here: Zend Framework

I've tried to make the same thing as you are trying now, and it didn't work for me I'm not using the multiple controllers because I wasn't able to render my header and footer.phtml and had no idea how to fix it.

I hope you have more luck or just more skill

Last edited by SpotSec : 05-02-2007 at 05:49 AM.
Reply With Quote