click and view documents

Roland Martin roland.w.martin at GMAIL.COM
Fri May 12 02:03:43 PDT 2006


Hi Cayla,

You're on the right lines - here's what I did...

- Set up a custom Chameleon query page (I forget how to do this but I'm sure
there are instructions somewhere)
- Modify the local QUERYRESULTS.PHTML page just below line 252 (THIS IS FOR
LOCAL LAYER RESULTS etc), modifying the code to create a hyperlink from one
of the attributes

It looks like the code's been rewritten since I played with it last, but I
added a routine to check for an attribute called HYPERLINK, and a second one
called HREF, and link them together. It may want to be around line 319 or
thereabouts?

If you email me off-list I'll send you an example.

Cheers,
Roland.



On 11/05/06, Cayla Buell <cayla.buell at gmail.com> wrote:
>
> Hello all-
>
> I'm fairly new to Mapserver and am not quite sure how to go about
> doing what I want.  I'd like to be able to click on a feature and then
> offer the user a selection of viewable PDFs linked to that feature.
> How the user sees the list of documents doesn't matter -- it can be a
> pop-up window, another webpage or something else.  I thought this
> would be some type of query, but I can't seem to move past that.  I'm
> using Mapserver 4.8.  I'm also using Chameleon for my query button,
> but if there is a solution that works without using Chameleon, I'm
> willing to do that as well.
>
> Thanks for your help.
>
> Cayla
>



-- 
Please note my new email address. Use other addresses at your peril.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060512/9218d830/attachment.htm>


More information about the MapServer-users mailing list