I'm trying to create a view helper to load a GMap in a view when needed
only, hence the helper... I know it's just a crappy view helper but I don't
get the hang of this... How can I render a .phtml when I call the helper?

<?php

class Zend_View_Helper_LoadMap
{
    function loadMap()
    {
        echo $this->render('map.phtml');
    }
}

?>

-- 
Christian Sánchez A.

Reply via email to