[Chameleon] Query Result

listserver server chameleon.listserver at gmail.com
Fri Jun 23 04:47:58 EDT 2006


i want to remove LAYER_INDEX, TILE_INDEX and SHAPE_INDEX from query result.

I've removed them using header but i have problems with matips widget has i
described here:
http://lists.maptools.org/pipermail/chameleon/2006-June/004156.html


So i'm tryng to modify the queryresult.phtml

i've added around line 294

//String comparison to search for fields that should NOT be    returned in
query results.
if (strcasecmp($key, "SHAPE_INDEX") == 0 ||
   strcasecmp($key, "TILE_INDEX") == 0 ||
   strcasecmp($key, "LAYER_INDEX") == 0)
   continue;
   {

but i recieve this error when i do a query:

Parse error: parse error, unexpected T_ELSE in
C:\ms4w\apps\chameleon\htdocs\widgets\Query\QueryResults.phtml on line 326

To remove this fields what can i do in queryresult.phtml

Thank you in advance!

P.s. The searctool of listserver
http://lists.maptools.org/search.phtml?config=chameleon now doesn't WORK!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060623/321d3251/attachment-0001.html


More information about the Chameleon mailing list