getRequest()->isDispatched()) { return; } $action = $this->getRequest()->getActionName(); if (!preg_match('/^(create|login)/i', $action)) { $this->setFlag('', 'no-dispatch', true); } } public function indexAction() { /* $this->loadLayout(); $this->_initLayoutMessages('pap/session'); $this->_initLayoutMessages('catalog/session'); $this->getLayout()->getBlock('content')->append( $this->getLayout()->createBlock('pap/account_dashboard') ); $this->getLayout()->getBlock('head')->setTitle($this->__('My Account')); $this->renderLayout();*/ } public function loginAction() { $this->loadLayout(); $this->renderLayout(); } public function createAction() { $this->loadLayout(); $this->_initLayoutMessages('customer/session'); $this->renderLayout(); } }