[Chameleon] Enhanced widget pack

Joel Rivard jrivard at connect.carleton.ca
Thu Jun 17 11:34:46 EDT 2004


Hi,

Thanks Nicolas for the tag, it displays the url.  Howerver, It displays 
the link as text and not an acutal link that you can simply click on.  
Is this because I am using local data instead of WMS?

My second problem is changing the LegendTemplatePopup.phtml.  When I 
click on a layer in the legend to access more info, I want to display 
only 4 criterias.

Title Name:
Abstract:
Connection:
Metadata URL:

I am still getting used to some of the coding and can't seem to isolate 
the section that identifies what criteria to add to this popup.

Can anybody point me in the right direction,

Joel




Fortin,Nicolas [SteFoy] wrote:


>
>Hi, I think those two should work:
>
>   "wms_metadataurl_href" "the url here"
>   "wms_metadataurl_format" "the metadata format"
>
>Regards,
>
>Nicolas
>
>-----Message d'origine-----
>De : chameleon-bounces at lists.maptools.org 
[mailto:chameleon-bounces at lists.maptools.org] De la part de Joel Rivard
>Envoy? : Wednesday, June 16, 2004 1:37 PM
>? : chameleon at lists.maptools.org
>Objet : Re: [Chameleon] Enhanced widget pack
>
>
>Paul,
>
>I checked in the WMS HOW TO? documentation and found no WMS tags that 
>displays the Metadata URL (the one you specified wasn't correct as you 
>mentionned).  I have found others that are proving to be useful for my 
>application, but none that allowed me to show the Metadata URL.
>
>Does anybody know this WMS tag?
>
>Joel
>
>
>Paul Spencer wrote:
>
>
>>Joel,
>>
>>The popup is provided by the LegendTemplate widget, the code for the
>>popup is in chameleon/htdocs/widgets/LegendTemplate/LegendTemplate.phtml
>>
>>The popup was designed to show information about WMS layers.  In
>>particular, the abstract and metadata urls from WMS layers are normally 
>>recorded as metadata on the layer.  I don't think the widget cares if 
>>the layer is WMS or not, but it will look specifically for:
>>
>>METADATA
>>   "wms_abstract" "the abstract for this layer"
>>   "wms_metadataurl" "not sure if this is right, check the WMS howto 
>>:)" END
>>
>>So the quick fix would be to modify your map file to add this
>>information.  If you are not happy with the layout, you could also edit 
>>this file to get exactly what you want.
>>
>>Cheers,
>>
>>Paul
>>
>>Joel Rivard wrote:
>>
>>> Hi list,
>>> 
>>> I'm using Chameleon 1.99 beta and running the Enhanced Widget Pack as
>a 
>>> sample app.  I've added my own map file to show some local data and
>was 
>>> wondering how to add some info upon clicking on the themes in the
>>> legend.  When I click on any given layer, it only gives me the "layer 
>>> name" and "layer title".  I'd like to add an abstract as well as an 
>URL 
>>> to the Metadata.  I'm not sure if this feature has to be set in the
>>> mapfile or if its an XML file that is controling this.
>>> 
>>> Can anybody point me in the right direction,
>>> 
>>> Thanks,
>>> 
>>> Joel
>>> _______________________________________________
>>> Chameleon mailing list
>>> Chameleon at lists.maptools.org 
>>> http://lists.maptools.org/mailman/listinfo/chameleon
>>> 
>>
>>--
>>  -----------------------------------------------------------------
>>|Paul Spencer                           pspencer at dmsolutions.ca   |
>>|-----------------------------------------------------------------|
>>|Applications & Software Development                              |
>>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
>>  -----------------------------------------------------------------
>>
>>_______________________________________________
>>Chameleon mailing list
>>Chameleon at lists.maptools.org 
>>http://lists.maptools.org/mailman/listinfo/chameleon
>>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org 
http://lists.maptools.org/mailman/listinfo/chameleon
>


More information about the Chameleon mailing list