AW: [Chameleon] Link_to_metadata

Buchholz, Robert Robert.Buchholz at LUA.Brandenburg.de
Fri Oct 5 01:24:04 EDT 2007


Thanks a lot, Norm

This works!

All the best,
Robert

-----Ursprüngliche Nachricht-----
Von: Normand Savard [mailto:nsavard at mapgears.com] 
Gesendet: Donnerstag, 4. Oktober 2007 17:45
An: Buchholz, Robert
Cc: chameleon at lists.maptools.org
Betreff: Re: [Chameleon] Link_to_metadata

Buchholz, Robert wrote:

>Dear List,
>
>there are hyperlinks at the legend widget (on the layers name)guiding 
>to a new window with metadata. What is the corresponding chameleon 
>file? (LegendInfo.phtml?layerinfo_body.phtml?)
>If yes, where schould I change what in order to:
>-set another hyperlink on "No Metadata URL available" to Metadata (to 
>start: local-> .txt or .pdf; later: maybe .xml)
>System: MS4W 2.2.6, Chameleon 2.6.0rc1
>
>  
>
Robert,

The file is LegendInfo.phtml that load
htdocs/common/phpwms/layerinfo_body.phtml.  But you don't need to edit this file in order to have an hyperlink for a  specific layer.  You have to edit chameleon.map and add  "wms_metadataurl_href" in the the metadata section that points to "http://link to somepage".

Norm



More information about the Chameleon mailing list