Ben Zend Framework App geliştiriyorum.
Benim indexcontroller görünümü views / scripts / index / index.phtml In
<p><a href="<?php echo $this->url(array('controller'=>'index',
'action'=>'add'));?>">Add new album</a></p>
in my browser is is outputting me only url path so it is not going to the add action. Here it is my add action in IndexController.php
 public function addAction()
    {
        // action body
        $form = new Application_Form_User();
        $form->submit->setLabel('Add');
        $this->view->form = $form;
        if ($this->getRequest()->isPost()) {
            $formData = $this->getRequest()->getPost();
            if ($form->isValid($formData)) {
                $artist = $form->getValue('artist');
                $title = $form->getValue('title');
                $albums = new Application_Model_DbTable_Albums();
                $albums->addUser($artist, $title);
                $this->_helper->redirector('index');
            } else { 
                $form->populate($formData);
            }
        }
    }
ve benim add.phtml olduğunu
<?php
$this->title = "Add new album";
$this->headTitle($this->title);
echo $this->form ;
?>
why it is not going to add action. please suggest Edit More Info
ve ben app oluşturmak için bu pdf kullanıyorum http://akrabat.com/wp-content/uploads/Getting-Started-with-Zend-Framework.pdf
In page No. 9 I am not getting where to put this line and is these lines are necessary or not ?
$view = new Zend_View();
$view->setScriptPath('/path/to/scripts');
echo $view->render('script.php');
ve ben düzeni ve CSS set değil. ama veritabanından benim liste geliyor ama benim eklenti Dction çalışmıyor? Lütfen öneririz neden
