<div dir="ltr">you can just rewrite the entire MAP_BASELAYERS</div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-18 14:21 GMT+01:00 David Alda Fernandez de Lezea <span dir="ltr"><<a href="mailto:dalda@hazi.eus" target="_blank">dalda@hazi.eus</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Yes in my local_settings.py I have<br>
<br>
MAP_BASELAYERS = [{<br>
    "source": {<br>
        "ptype": "gxp_wmscsource",<br>
        "url": GEOSERVER_URL + "wms",<br>
        "restUrl": "/gs/rest"<br>
     }<br>
  }]<br>
<br>
If I change the URL to GEOSERVER_URL + "geonode/wms" it duplicates the entry in the combobox.<br>
<br>
I've found the settings.py file under python2.7/dits-packages/geonode and in it I can see what you've mentioned<br>
<br>
LOCAL_GEOSERVER = {<br>
        "source": {<br>
            "ptype": "gxp_wmscsource",<br>
            "url": OGC_SERVER['default']['PUBLIC_LOCATION'] + "wms",<br>
            "restUrl": "/gs/rest"<br>
        }<br>
    }<br>
    baselayers = MAP_BASELAYERS<br>
    MAP_BASELAYERS = [LOCAL_GEOSERVER]<br>
    MAP_BASELAYERS.extend(baselayers)<br>
<br>
<br>
Should I modify it here?<br>
<br>
Agur bero bat,<br>
<br>
<br>
<br>
David Alda Fernández de Lezea<br>
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.<br>
dalda@hazi.eus | www.hazi.eus<br>
T 945 003 240 – M 627 923 170 – F 945 003 290<br>
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba<br>
 <br>
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************<br>
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.<br>
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.<br>
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.<br>
<br>
De: Simone Dalmasso [mailto:<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>]<br>
Enviado el: lunes, 18 de enero de 2016 13:28<br>
Para: David Alda Fernandez de Lezea<br>
CC: <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
Asunto: Re: [GeoNode-users] Create Map interface questions<br>
<br>
Have you already tried ti change this line?<br>
<a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L928" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L928</a><br>
<br>
2016-01-18 13:10 GMT+01:00 David Alda Fernandez de Lezea <dalda@hazi.eus>:<br>
Hi Simone,<br>
<br>
Thanks for your response. The change I want to make in the combo is the URL itself . Now it's pointing to <a href="http://myip.com/geoserver/wms" rel="noreferrer" target="_blank">http://myip.com/geoserver/wms</a> but I want to change it to <a href="http://myip.com/geoserver/geonode/wms" rel="noreferrer" target="_blank">http://myip.com/geoserver/geonode/wms</a> so I can separate the contents into workspaces. Any thoughts?<br>
<br>
Thanks.<br>
<br>
<br>
Agur bero bat,<br>
<br>
<br>
<br>
David Alda Fernández de Lezea<br>
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.<br>
dalda@hazi.eus | www.hazi.eus<br>
T 945 003 240 – M 627 923 170 – F 945 003 290<br>
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba<br>
 <br>
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************<br>
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.<br>
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.<br>
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.<br>
<br>
De: Simone Dalmasso [mailto:<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>]<br>
Enviado el: lunes, 18 de enero de 2016 10:37<br>
Para: David Alda Fernandez de Lezea<br>
CC: <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
Asunto: Re: [GeoNode-users] Create Map interface questions<br>
<br>
Hi,<br>
<br>
you can change the name that appears there directly from the geoserver admin panel.<br>
<br>
About the ID, I think you would have to change the js code, not very easy..., <a href="https://github.com/GeoNode/django-geoexplorer" rel="noreferrer" target="_blank">https://github.com/GeoNode/django-geoexplorer</a>, and you would have to re-compile it.<br>
<br>
hope it helps<br>
<br>
2016-01-18 9:50 GMT+01:00 David Alda Fernandez de Lezea <dalda@hazi.eus>:<br>
Hi List,<br>
<br>
I'd like to ask if it's possible and how to edit/customize the following cases:<br>
<br>
        1. In the Map Creation part in the Available Servers combobox I'd like to change "My Local GeoServer" to point to the geonode workspace (<a href="http://myip.com/geoserver/geonode/wms" rel="noreferrer" target="_blank">http://myip.com/geoserver/geonode/wms</a>) and the caption for another one. If I edit the local_settings.py in the MAP_BASELAYERS and change it there then it duplicates the entry in the combo. Any ideas how to change it?<br>
<br>
        2. The other thing is how to get the column "ID" (once you've chosen a server and list it contents) wider, because I can hardly see the names of the layers.<br>
<br>
Thanks in advance,<br>
<br>
Regards,<br>
<br>
Agur bero bat,<br>
<br>
<br>
David Alda Fernández de Lezea<br>
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.<br>
dalda@hazi.eus | www.hazi.eus<br>
T 945 003 240 - M 627 923 170 - F 945 003 290<br>
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba<br>
 <br>
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************<br>
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.<br>
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.<br>
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br>
<br>
<br>
<br>
--<br>
Simone <br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
--<br>
Simone <br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>