[Cartoweb-users] Send message to interface
    Jacolin Yves 
    yjacolin at free.fr
       
    Fri Jun  2 12:04:30 EDT 2006
    
    
  
thank you Francois. I will test it next week !
Y.
Le Vendredi 2 Juin 2006 17:57, vous avez écrit :
> 1.use the renderForm to call your plugins template
> 2.put php variable into a smarty variable to display in html
> 3.put the result of your plugins template in the cartoclient template.
>
>
>     /**
>      * @see GuiProvider::renderForm()
>      */
>         public function renderForm(Smarty $template) {
>         $smarty = new Smarty_Plugin($this->getCartoclient(), $this);
>           $smarty->assign('varToPutInYourPluginTemplate.tpl',
> $this->ogcLayers);
>         $template->assign('varToPutInCartoclient.tpl',
> $smarty->fetch('ogcLayers.tpl'));
>         }
-- 
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagaire Conservatoire Régional des Espaces Naturels de la région Centre
http://cahiersnaturalistes.free.fr/cpnrc/
----
- Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause 
puisque je suis de bonne foi?
- Et qu'est-ce que ça peut faire que je sois de mauvaise foi
puisque c'est pour la bonne cause. (Jacques Prévert)
    
    
More information about the Cartoweb-users
mailing list