<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.4275" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2>Hi Oliver</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2>I've just tested it - without any success. I think it isn't possible
because I can't define in the layers.ini file which switch-label should
disappear when I would be logged in. I mean something like
this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009>switches.switch1.label = LK
Abwasser</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009>switches.switch1.metadata.security_view =
lk_abwasser</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009>This is only working in a normal dropdown
menu.</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009>Have a nice evening.
Regards,</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046540715-17032009><FONT face=Arial
size=2><SPAN class=817152816-13032009>Adrian</SPAN></FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> Oliver Christen
[mailto:oliver.christen@camptocamp.com] <BR><B>Gesendet:</B> Dienstag, 17. März
2009 11:28<BR><B>An:</B> Dahinden Adrian;
cartoweb-users@lists.maptools.org<BR><B>Betreff:</B> Re: [Cartoweb-users]
hidding a security layer in switch dropdown<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT size=2>mmm, did you try with your layerreorder plugin deactivated to
see if it's not once again a side effect ?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=a.dahinden@geo-thun.ch href="mailto:a.dahinden@geo-thun.ch">Dahinden
Adrian</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 13, 2009 5:40
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] hidding a
security layer in switch dropdown</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN class=817152816-13032009>Hi
list</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=817152816-13032009>Does anybody know,
how I can hide a Layer in a switch-dropdown?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=817152816-13032009>Now the layer is
not available, but still visible in the dropdown. The layer should only be
visible when the legitimate user is logged in. The definitions in the
layers.ini file:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009>switches.switch1.label = LK
Abwasser</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009>layers.Kartenvorwahl_Gemeinden.className =
LayerGroup<BR>layers.Kartenvorwahl_Gemeinden.children.switch1 =
LK_Abwasser</SPAN></FONT><FONT face=Arial size=2><SPAN
class=817152816-13032009><BR>layers.Kartenvorwahl_Gemeinden.label =
Kartenvorwahl_Gemeinden</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=817152816-13032009>layers.LK_Abwasser.className =
LayerGroup<BR>layers.LK_Abwasser.label =
LK_Abwasser<BR>layers.LK_Abwasser.children = LK_Abwasser_Uebersicht,
LK_Abwasser_Daten<BR>layers.LK_Abwasser.rendering =
tree<BR>layers.LK_Abwasser.metadata.security_view =
lk_abwasser</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV class=MsoNormal align=left><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
class=817152816-13032009>Thanks very much for any hints.</SPAN></SPAN></DIV>
<DIV class=MsoNormal align=left><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
class=817152816-13032009></SPAN></SPAN> </DIV>
<DIV class=MsoNormal align=left><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN
class=817152816-13032009>Regards</SPAN> </o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Adrian
<SPAN class=SpellE>Dahinden</SPAN><o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">********************************************<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN class=SpellE><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Dütschler</SPAN></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> &
Naegeli<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Vermessung + Geoinformation
AG<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Fliederweg 11,
Postfach<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">3601
Thun<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Telefon
033 / 225 40 50<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Fax 033 /
225 40 60<o:p></o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></DIV>
<DIV class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
href="mailto:a.dahinden@geo-thun.ch">mailto:a.dahinden@geo-thun.ch</A></SPAN></DIV>
<DIV class=MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
href="http://www.geo-thun.ch/">http://www.geo-thun.ch</A></SPAN></DIV>
<DIV class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">********************************************<o:p></o:p></SPAN></DIV>
<DIV> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>