Zend framework is a big thing and takes time to learn. Today I found another problem I don’t know how to solve, it’s about sending a dojo form in a placeholder located in my layout. The form is a simple login form that works fine. However when I try to put it in the placeholder the form shows but without dojo applying to it. Here’s an extract : This doesn’t work, on index.phtml :

  1. $login = new Login();
  2. $this->placeholder(‘loginbox’)->set($login);

Here’s the target in my layout file :

  1. placeholder(‘loginbox’); ?>

However this works fine in the index.phtml :

  1. $login = new Login();
  2. echo $login ;

Damn !

Advertisements