[GeoNode-users] Adding Tabs to Geonode Menu

Alessio Fabiani alessio.fabiani at geo-solutions.it
Wed Apr 4 10:24:24 PDT 2018


Hi

{% url  ... %} is a keyword to convert local paths into links.

I guess you should use this instead

...
<a href="http://sosamazonia.sipam.gov.br/sosmanaus/">{% trans "Online
Radars" %}</a>
...




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 19:20 GMT+02:00 Julierme Pinheiro <
juliermeopensourcedeveloper at gmail.com>:

> 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/
> <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/008685cb/attachment-0001.html>


More information about the geonode-users mailing list