In my project I have a number of dynamic elements that are consistently on every page. I have put these in my layout.phtml
My question is: How can I send variables i
Well i guess you can have another solution by creating view helper.. create a file in application/views/helper and name it what ever you want abc.php
then put the following code over there.
class Zend_View_helper_abc {
static public function abc() {
$html = 'YOUR HTML';
return $html;
}
}
So you can use this helper in layout like..
= $this->abc() ?>