[GeoNode-users] Editing navigation bar
Simone Dalmasso
simone.dalmasso at gmail.com
Tue Jul 28 05:23:18 PDT 2015
Hi, that tag is a django template tag that creates a url from it's name
defined in urls.py.
see https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#url
If you don't have a django url for what you need, then you can hardcode the
link instead of having a "{% url" block.
Hope it helps
2015-07-28 14:02 GMT+02:00 Carmine Massarelli <
carmine.massarelli at ba.irsa.cnr.it>:
> Dear,
> I would like to add a voice to the navigation bar for a link to a web page
> that I am creating (html5, javascript and OL3) with multimedia contents for
> on-line visualisation.
> Because I would like this page to be available within geonode framework, I
> edited the base.html addind this line copyed:
>
> {% block extra-nav %}
> <li id="nav_documents">
> <a href="{% url "documents_browse" %}">{% trans "Multimedia" %}</a>
> </li>
> {% endblock %}
>
> The problem is that i do not know the mean of the code {% url
> "documents_browse" %} and where is the referred link documents_browse
> that i would modify to fit for my cms.
>
> Thanks
>
> --
> Dr. Nat. Carmine Massarelli, Ph.D.
> National Research Council
> Water Research Institute (IRSA)
> Addr: De Blasio n.5 - 70132 Bari Z.I.
> Tel: +39 080 582 05 06
> Skype: carmine.massarelli
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150728/92943da1/attachment.html>
More information about the geonode-users
mailing list