[GeoNode-users] Adding Tabs to Geonode Menu
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Thu Apr 5 00:51:17 PDT 2018
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.
Regards,
Alessio Fabiani
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
2018-04-04 20:49 GMT+02: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
> 04109 Leipzig
> -----------------------------------------------
> 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:
>
>
>
> _______________________________________________
> 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/20180405/06c43f6a/attachment-0001.html>
More information about the geonode-users
mailing list