query widget and linking out from QueryResults.phtml

View: New views
1 Messages — Rating Filter:   Alert me  

query widget and linking out from QueryResults.phtml

by Tony Baylis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I am trying to use the formatValue() function in the Query widget but
cannot seem to get the return to create a hyperlink.  I have added a
column called link_out to my table (PostGIS), assigned a value (eg,
http://mapserver1/remwms/links/townsville-flood.jpg) to a couple of
rows/objects but the return in the query results widget is just the url.

The code looks fine for the formatValue() function so I assume I am
missing something basic.

Can anyone point me in the right direction?

Tony

--
Tony Baylis
Spatial Information Specialist
Resource and Exploration Mapping
Suite 8, 290 Boundary St
Spring Hill QLD 4000
Ph    3832 1600
Fax   3832 1603
Mob   0419 759 131
Email tony.baylis@...
www   resexmap.com.au

_______________________________________________
Chameleon mailing list
Chameleon@...
http://lists.maptools.org/mailman/listinfo/chameleon