Hello,

i have solved the problem using PHP

Best regards,

FX GAMOY
*Géomatika*
Technopole Izarbel
Créaticité - Bâtiment B
64210 BIDART
Tél : 05 59 22 32 58 / 06 87 39 32 03
http://www.geomatika.fr/

Le 28/09/2011 21:55, fx gamoy a écrit :
Hello

I ve got somme difficulties with html legend and template

basic works fine.

[leg_layer_html opt_flag=3]
<table style="width:100%;margin:0px;padding:0;border-collapse:collapse;"> <tr><td class="corpsblack">[if name=layer_status oper=eq value=1]Hello[/if][if name=any_layer_metadata isset value=title][metadata name=title][/if] (<b>[leg_layer_minscale]</b>-<b>[leg_layer_maxscale]</b>)</td></tr></table>
[/leg_layer_html]

The first "if" works fine -> if layer->status==MS_ON returns hello

the second if don't work.
i would like to get the value of the metadata "title" if the metadata is set for my layer but the "if" is not processed and the processing return the all if syntax witouth any translation...
you can see un screenshot in this email.

mapserv-5.6.7on linux debian box..

Any suggestion will be appreciated..

Thanks
Best regards,
fx


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to