Okay, got messed up with some old code. Let me correct that. To turn off view rendering for the forums. I use this bit in the Forums_IndexController
class Forums_IndexController extends Zend_Controller_Action {

   function preDispatch() {
set_include_path(APP_PATH . 'application/modules/forums/models' . PATH_SEPARATOR . get_include_path()); define('PHPBB_ROOT_PATH', APP_PATH . 'application/modules/forums/models/'); Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer')->setNoRender(true);
   }


Deanna Bonds wrote:
Forgot a piece.

I said I need to turn off view rendering for the forums. So in the Initializer preDispatch I have
   function preDispatch(Zend_Controller_Request_Abstract $request) {
       if($request->getModuleName() == 'forums'){
$this->_front->setParam('noViewRenderer', $request->getControllerName() != 'error');
       }
   }



Reply via email to