Re: [Cartoweb-users] Tooltips template

2007-05-15 Thread Sylvain Beorchia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oliver, when i add some debug the template is good, and the foreach loop show me each parameters and values. But the HTML is null. ie. $html = $smarty->fetch($template); return nothing... Oliver Christen a écrit : > Hi Sylvain > > from what you

Re: [Cartoweb-users] Tooltips template

2007-05-15 Thread Oliver Christen
Hi Sylvain from what you say, I guess you use Cartoweb 3.3, so you have this function: public function renderResult($smarty) { // Assigns a key => value attributes array to layerResults smarty // variable $smarty->assign('layerId', $this->getId()); $smarty->assign('

[Cartoweb-users] Tooltips template

2007-05-15 Thread Sylvain Beorchia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I come again with my tooltips problems: In my tooltips.ini, i've got : timeout_async.ecm_poly.template = "layerResult_poly.tpl" In the renderResult() function (LayerResult.php), i checked that $template contains the good value (layerResult_p