Use Zend_Controller_Action render. This would create a script view in the controller name / success2.phtml
class ControllerName_Controller_Action extends Zend_Controller_Action
{
public function successAction()
{
$this->render("success2");
}
}
You should read the documents in Zend Controller for more details.
source
share