[Chameleon] Understanding queryresults.phtml
Paul Spencer
pspencer at dmsolutions.ca
Thu Apr 7 21:05:27 EDT 2005
Tyler,
are you using the standard Query widget files or are you using the
customized query results from the tiki?
In what way are the results not what you are expecting? Are you getting
results that you shouldn't (because the layer should have query_ignore
set) or are you not getting results that you think you should?
Note that even if you don't want to use the template to control
queryability (?) ... you MUST set a template to make it queryable.
MapScript simply will not query a layer that does not have a template set.
Cheers
Paul
Tyler Mitchell wrote:
> I'm working through customising queryresults.phtml in a custom widget.
> I'm having troubling understanding which parts of this are for WMS only
> versus local layers. I'm only dealing with local mapserver layers.
>
> I thought I could ignore out some layers by tweaking the logic around
> $bQueryable, but it doesn't seem to help me. I want to do something like:
>
>
> if ($olayer->getMetadata( "query_ignore" ) != "")
> {
> $bQueryable = false;
> }
>
> But I'm not getting the results I expected :( So I'm wondering if this
> code relates mainly to the WMS querying logic, is that right?
>
> Can anyone give me a quick pointer on what section I should be focusing
> on in this file?
>
> Tyler
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
More information about the Chameleon
mailing list