Well,

I have this my bootstrap file:

require_once 'Zend/Controller/Front.php';
Zend_Controller_Front::run('/var/www/mauricio/application/controllers');
Zend_Controller_Front::setParam('noViewRenderer', true);

And I get the following error:

Fatal error: Using $this when not in object context in
/var/www/library/Zend/Controller/Front.php on line 634

I can not get this to work



Shaun Rowe-2 wrote:
> 
> Mauricio Cuenca wrote:
>> Hello,
>> 
>> What do I have to do to not require those files and keep using my
>> Zend_View
>> templates?
>> 
>> Thanks!
> 
> If you are using the ViewRenderer (default behaviour), in your action 
> method add this line of code.
> 
> $this->_helper->viewRenderer->setNoRender();
> 
> 
> 
> Cheers
> 
> Shaun
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/.phtml-files-question-tp15333035s16154p15333703.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to