[Chameleon] Link_to_metadata
Normand Savard
nsavard at mapgears.com
Thu Oct 4 11:44:33 EDT 2007
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