RV: [Chameleon] Problem in the link of the layers

Ines mleonsoft at yahoo.com.ar
Thu Mar 22 08:53:25 EST 2007


I am not sure because I didn´t develope the legend. Another person did it.
Now I have to fix this problem. In the template.html code, I have this 2
cwc2 tags:

1)
<cwc2 type="Link" linktype="javascript" jsfunction="ShowLegendLayer"
styleresource="Tabs" Image="icons/[$stl_legend$]" ImageTip="[$stl_tlegend$]"
toolset="SideTabs" default="true">
              <image state="normal"/>
              <image state="hover"/>
              <image state="selected"/>
          </cwc2>

2)
<cwc2 type="LegendTemplate" visible="true" embedded="true"
template="[$legend_template$]" popupstyleresource="TextButtons"
popupwidth="500" popupheight="400" status="false" menubar="false"/>

I think it could be the Legend Template widget. I have a folder called
"LegendTemplate" in my folder "Widgets".

Thank you very much.
Ines




-----Mensaje original-----
De: Julien-Samuel Lacroix [mailto:jlacroix at mapgears.com]
Enviado el: miércoles, 21 de marzo de 2007 16:37
Para: Ines
CC: chameleon at lists.maptools.org
Asunto: Re: [Chameleon] Problem in the link of the layers


Hi,
Which widget are you using to build your legend?

Julien

Ines wrote:
> Hello, I am having problems when I click on the name of my Layers in the
> Legend.
>
> I have several layers. Some layers have at the left of the name an image.
> When I click on the image, it opens a new window with the image big. But
> when I click on the name of the layers in the legend, I have the same
error
> in all the layers:
>
> Fatal error: Call to undefined function: seterrormanager() in
> D:\ms4w\apps\wmsviewer\htdocs\common\phpwms\layerinfo_body.phtml on line
38
>
> ¿Could you help me to solve this problem?
>
>
> Thank You very much!
> Ines
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/



More information about the Chameleon mailing list