Ejemplo n.º 1
0
 protected function _toHtml()
 {
     $html = parent::_toHtml();
     //aggiungo il blocck di tnt
     $torep = '<div id="tracking" style="display:none;">';
     $html = preg_replace("/" . str_replace('/', "\\/", $torep) . "/i", $torep . $this->getLayout()->getBlock('tntproform')->toHtml(), $html, 1);
     return $html;
 }