Hello.

I have encountered a problem where i get output from action helper twice.
Like this:

index.phtml:
   <?php echo $this->action('someaction') ?>

someaction.phtml
  <h1>Welcome!</h1>
  <?php echo $this->action('otheraction') ?>

otheraction.phtml
  <?php echo "<p>Content</p>" ?>

Now, the result i get is:
  <p>Content</p>
  <h1>Welcome</h1>
  <p>Content</p>


So the content echoed in the inner action is printed twice. Is this a bug?

-santervo


-- 
View this message in context: 
http://www.nabble.com/Zend_View_Helper_Action-problem-tp16526774p16526774.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to