[Chameleon] Mixing PHP code in the template file: It is necesary a new Widget?

Julien-Samuel Lacroix jlacroix at mapgears.com
Fri Jun 8 16:26:18 EDT 2007


It's not possible to have PHP code inside a Chameleon template. However 
you can build your how Chameleon widget to do what you want. See:


Alexys Herleym Rodriguez Avellaneda wrote:
> Hi,
> I have the next php code:
> This php script take the data from a table of polygons, and it do a list 
> with the unique name values (regions names). When the user do clic in a 
> item in this list, the aplication must do a zoom to the polygons 
> boundary representing the list item, and another list with the names of 
> polygon's subregions inside the selected region is filled. Then the user 
> can select the second list and do a zoom to the boundaries to the 
> specific subregion.
> The question is:
> 1- how ca i run this php script inside de html template in my chameleon 
> aplication?. I attempt to do that but the application do not recognize 
> the php code. Wath diferents possibilities ia have?
> By other side:
> It is a good idea to continue doing application with chameleon, because 
> some people speak about disadvantages, and the list support is not good, 
> the documentation, is a little static. Wath is the recomended 
> application for web mapping?
> Thanks
> Alexys H.
> ------------------------------------------------------------------------
> ¡Descubre una nueva forma de obtener respuestas a tus preguntas!
> Entra en Yahoo! Respuestas 
> <http://us.rd.yahoo.com/mail/es/tagline/answers/*http://es.answers.yahoo.com/;_ylc=X3oDMTEzNWwxbTZtBF9TAzIxMTQ3MTQxOTAEc2VjA01haWwEc2xrA3RhZ2xpbmVz>.
> ------------------------------------------------------------------------
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

Julien-Samuel Lacroix

More information about the Chameleon mailing list