vince. wrote:
> 
> 
> $view = new Zend_View();
> $view->addScriptPath('/path/to/app/views');
> $view->addScriptPath('/path/to/custom/');
> 
> P.S BTW i personally use the viewRenderer helper, Makes things easier to
> render.
> 
> 

Thanks for the hint. I added this:

$this->view->addScriptPath('/var/www/ZF-apps/');

in my controller init() method.

I never use:

$view = new Zend_View();

in any of my code, in each controller there is a magic $this->view which is
always there. I'm not sure where it comes from ;)

>> P.S BTW i personally use the viewRenderer helper, Makes things easier to
render.

What did you mean? Could you explain this a little more? :)

monk.e.boy
-- 
View this message in context: 
http://www.nabble.com/ZF-1.8.2-no-more-..-..-..--in-my-views%21-tp23764251p23777159.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to