[Chameleon] Modifying the form inside of QueryResults
Julien-Samuel Lacroix
jlacroix at mapgears.com
Fri May 12 11:12:05 EDT 2006
Hi,
Were you aware of the custom query result documentation?
http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustomizingResults
I think that would be the way to go.
Other than that, you may check in the code:
chameleon/htdocs/widgets/Query/QueryResult.phtml
Best regards,
Julien
Abbott,Arthur wrote:
> Anyone,
>
> I'm currently tinkering around inside of the QueryResults.phtml file. I've managed to find and extract a url which points to an image from a layer. I would now like to use that url to change an image that resides in the template file. The following is a snippet from QueryResult.
>
> // Check if there's any result
> if($oResultSet)
> {
> $url = findURL($oResultSet);
> if($url != "")
> {
> //display the image in the popup window
> $szResults .= "<img SRC='";
> $szResults .=$url;
> $szResults .= "'";
> }
> else //else perform the query as normal.
> $szResults = formatQueryResults( $oResultSet, $aszLayers,
> $aszTitles );
> }
>
> Is there a way to access the form from inside QueryResult? Is so, how?
>
> Thanks in advance,
>
> Arthur Abbott
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
More information about the Chameleon
mailing list