[GeoNode-users] Adding Tabs to Geonode Menu

Francesco Bartoli xbartolone at gmail.com
Wed Apr 4 10:24:43 PDT 2018


following the developers workshop [1] you can achieve your goal with the recommended way.

Hope this helps

[1] http://geonode.org/dev-workshop/

Il giorno 04/apr/2018, alle ore 19:20, Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com> ha scritto:

> Hi all,
> I am trying to add some more menu tabs to Geonode default menu bar (Data, Maps, Meteorology, About)  but I have not had any success. I edited the 
> /opt/apps/geonode/geonode/geonode/templates/base.html file, adding the following lines in order to create the Meteorology tab with a dropdown list for Online Radars link:
> <div class="col-md-2">
>   <ul class="list-unstyled">
>      <li>Meteorology</li>
>      <li><a href="{% url "http://sosamazonia.sipam.gov.br/sosmanaus/" %}">{% trans "Online Radars" %}</a></li>
> </ul> 
> </div>
> The URL http://sosamazonia.sipam.gov.br/sosmanaus/ is linked to Online Radars and it should open the site in a new browser tab (_blank )
> Adding the piece of code above, I get a Python error. Any help on how to fix that and  achieve my goal?
> Thank you for your time in advance.
> Kind regards
> Julierme Pinheiro 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180404/ffde8ca8/attachment.html>

More information about the geonode-users mailing list