<div dir="ltr">Yeah, you need to take a look at how django apps work. you probably need to create one or at least a custom view to serve that template.<div><a href="https://docs.djangoproject.com/en/1.8/topics/class-based-views/">https://docs.djangoproject.com/en/1.8/topics/class-based-views/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-28 16:32 GMT+02:00 Carmine Massarelli <span dir="ltr"><<a href="mailto:carmine.massarelli@ba.irsa.cnr.it" target="_blank">carmine.massarelli@ba.irsa.cnr.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Ubuntu">Thanks...<br>
if i create a link i will exit from the framework...<br>
I would like to have a section without the content-wrap, so i
duplicated <i>documents</i> renaming it in <i>multimedia</i>
but i am not able to link to the new folder created editing
base.html, urls.py and settings.py.<br>
I have already modified the document_base.html in my new
multimedia folder to have what i want, but to create the link it
seems hard.<br>
I should link the code </font><font face="Ubuntu"><i><font face="Ubuntu"><span><a href="{% url "documents_browse"
%}">{% trans "Multimedia" %}</a></span></font></i><i>
</i>to the modified file in my new <i>multimedia</i> folder (copy
of <i>documents</i>) inside the geonode content (</font><font face="Ubuntu">
<span>/usr/local/lib/python2.7/dist-packages/geonode</span>).<br>
Any suggestion?<br>
Thanks<br>
</font><font face="Ubuntu"><br>
</font><br>
<div>Il 07/28/2015 02:23 PM, Simone Dalmasso
ha scritto:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi, that tag is a django template tag that creates
a url from it's name defined in urls.py.
<div>see <a href="https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#url" target="_blank">https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#url</a></div>
<div><br>
</div>
<div>If you don't have a django url for what you need, then you
can hardcode the link instead of having a "{% url" block.<br>
</div>
<div><br>
</div>
<div>Hope it helps</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-07-28 14:02 GMT+02:00 Carmine
Massarelli <span dir="ltr"><<a href="mailto:carmine.massarelli@ba.irsa.cnr.it" target="_blank">carmine.massarelli@ba.irsa.cnr.it</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <font face="Ubuntu">Dear,<br>
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.<br>
Because I would like this page to be available within
geonode framework, I edited the base.html addind this
line copyed:<br>
</font><br>
<font face="Ubuntu"> <span>{% block extra-nav %}</span><br>
<span> <li id="nav_documents"></span><br>
<span> <a href="{% url "documents_browse" %}">{%
trans "Multimedia" %}</a></span><br>
<span> </li></span><br>
<span>{% endblock %}</span><br>
<br>
The problem is that i do not know the mean of the code </font><font face="Ubuntu"><font face="Ubuntu"><span>{%
url "documents_browse" %} <big><font color="#000000">and where is the referred link
documents_browse that i would modify to<small> <font face="Ubuntu">fit for my cms.<br>
<br>
Thanks<span><font color="#888888"><br>
</font></span></font></small></font></big></span></font></font><span><font color="#888888">
<pre cols="72">--
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</pre>
</font></span></div>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all"><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
-- <br>
<div>Simone </div>
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
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</pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>