Hello, I try to implement the tree  legend widget <a href="http://chameleon-tiki.maptools.org/tiki-index.php?page=CustomLegendTree" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://chameleon-tiki.maptools.org/tiki-index.php?page=CustomLegendTree
</a><br>but it doesn&#39;t want to work. I followed the comments but it doesn&#39;t change nothing...
<br><br>The legend displays, if I want to display or not a layer it works fine, but the &#39;group&#39; checkbox is always&nbsp; unchecked, if I check it, when I refresh  it goes back to unchecked. Furthermore, it should have uncheked the layers of the group and changed the group icon...
<br><br>I use the legend template with the modification given in the comments and the LegendTemplet.widget.php attached.<br><br>maybe it comes from my template initialisation :<br><br>&lt;cwc2 type=&quot;LegendTemplate&quot; visible=&quot;true&quot; embedded=&quot;true&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; template=&quot;legend_template.html&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; popupstyleresource=&quot;checkbox&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; popupheight=&quot;300&quot; popupwidth=&quot;300&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controlvisibility=&quot;true&quot;/&gt;
<br><br>any ideas?<br><br>Dominique<br>