[GeoNode-users] Adding Tabs to Geonode Menu

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Mon Apr 9 12:44:13 PDT 2018


Hi All,

Going back to a previous recommendations made by Tony Schonbuchner and
Alessio Fabiane about Theming Geonode.

 https://github.com/GeoNode/geonode-project

Then the rest should be basic Django.
- create your app
- create your view
- create your template
- create your urls.py
- add it to your settings file
- and add it to project urls.py

http://geonode.org/dev-workshop/#/ *

Adding to Toni details,
once you have been able to setup you geonode-project (see the README on how
to do that), you should be able to add tabs by modifying this file here

https://github.com/GeoNode/geonode-project/blob/2.8.0/
project_name/templates/site_base.html

Just remove the {% comment %} / {% endcomment %} keywrods to enable the
code and update the <li> accordingly.







2018-04-04 15:49 GMT-03:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>:

> Hey Julierme,
>
> this should be easy. First, don´t change the core !
> Better use geonode projects to overwrite something.
> > https://github.com/GeoNode/geonode-project
>
> Then the rest should be basic Django.
> - create your app
> - create your view
> - create your template
> - create your urls.py
> - add it to your settings file
> - and add it to project urls.py
>
>
> Your need should be explained in detail here:
>
> http://geonode.org/dev-workshop/#/ *
> * note that you can navigate right and down with arrows in lower right.
>
> Best,
>
> Toni
>
>
> -----------------------------------------------
> CSGIS
>
> -----------------------------------------------
> Kolonnadenstraße 1
> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
> 04109 Leipzig
> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
> -----------------------------------------------
> Mobil +49/ (0) 176 6680 3198
> Tel  +49/ (0) 341 24 04 738
> Fax  +49/ (0) 341 24 04 73
> Web http://csgis.de
> -----------------------------------------------
>
> Hinweis gemäß § 33 BDSG
> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
> ausschließlich für den
> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
> diese E-Mail versehentlich
> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
> löschen Sie diese Nachricht
> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
> Vervielfältigung, Veränderung,
> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>
> Am 04.04.2018 um 19:24 schrieb geonode-users-request at lists.osgeo.org:
>
> Message: 1
> Date: Wed, 4 Apr 2018 14:20:20 -0300
> From: Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com>
> To: geonode-users at lists.osgeo.org
> Subject: [GeoNode-users] Adding Tabs to Geonode Menu
> Message-ID:
> <CAKTKyJLs3QWNzsTe1JQM0j89=efaB+m1+SQSdjFg429JNLE6Mg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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:
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180409/551c7c5a/attachment-0001.html>


More information about the geonode-users mailing list