<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>following the developers workshop [1] you can achieve your goal with the recommended way.</div><div><br></div><div>Hope this helps</div><div>Francesco</div><div><br></div><div>[1] <a href="http://geonode.org/dev-workshop/">http://geonode.org/dev-workshop/</a></div><div><br><div><div>Il giorno 04/apr/2018, alle ore 19:20, Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com">juliermeopensourcedeveloper@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div><div><div><div><span style="color:rgb(32,18,77)"><font size="4">Hi all,<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">I am trying to add some more menu tabs to Geonode default menu bar (Data, Maps, <u><b>Meteorology</b></u>, About)  but I have not had any success. I edited the <br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">/opt/apps/geonode/geonode/geonode/templates/base.html file, adding the following lines in order to create the <b>Meteorology</b> tab with a dropdown list for <u><b>Online Radars</b></u> link:<br><br><i><div class="col-md-2"><br>  <ul class="list-unstyled"><br>     <li>Meteorology</li><br>     <li><a href="{% url "<a href="http://sosamazonia.sipam.gov.br/sosmanaus/">http://sosamazonia.sipam.gov.br/sosmanaus/</a>" %}">{% trans "Online Radars" %}</a></li><br></ul> <br></div></i></font></span><br><span style="color:rgb(32,18,77)"><font size="4"><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">The URL <a href="http://sosamazonia.sipam.gov.br/sosmanaus/">http://sosamazonia.sipam.gov.br/sosmanaus/</a> is linked to <u><b>Online Radars</b></u> and it should open the site in a new browser tab (_blank )<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Adding the piece of code above, I get a Python error. Any help on how to fix that and  achieve my goal?<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Thank you for your time in advance.<br><br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Kind regards<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Julierme Pinheiro </font></span><br></div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>https://lists.osgeo.org/mailman/listinfo/geonode-users<br></blockquote></div><br></div></body></html>