<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body 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">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<span style="color: rgba(0, 0, 0, 0.8); font-family: 'Roboto
Slab', 'Times New Roman', serif; font-size: 14px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 19px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre-wrap; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important;
float: none; background-color: rgb(255, 255, 255);">/usr/local/lib/python2.7/dist-packages/geonode</span>).<br>
Any suggestion?<br>
Thanks<br>
</font><font face="Ubuntu"><br>
</font><br>
<div class="moz-cite-prefix">Il 07/28/2015 02:23 PM, Simone Dalmasso
ha scritto:<br>
</div>
<blockquote
cite="mid:CAAHAC+cQuXLCkiatBm44kEU3_DND1w40s9AsaBmVUTBTd=EV3g@mail.gmail.com"
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 moz-do-not-send="true"
href="https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#url">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 moz-do-not-send="true"
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
style="color:rgba(0,0,0,0.8);font-family:'Roboto
Slab','Times New
Roman',serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255)">
<span> <li id="nav_documents"></span><br
style="color:rgba(0,0,0,0.8);font-family:'Roboto
Slab','Times New
Roman',serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255)">
<span> <a href="{% url "documents_browse" %}">{%
trans "Multimedia" %}</a></span><br
style="color:rgba(0,0,0,0.8);font-family:'Roboto
Slab','Times New
Roman',serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255)">
<span> </li></span><br
style="color:rgba(0,0,0,0.8);font-family:'Roboto
Slab','Times New
Roman',serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255)">
<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
style="color:rgba(0,0,0,0.8);font-family:'Roboto
Slab','Times New
Roman',serif;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:19px;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">{%
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 class="HOEnZb"><font
color="#888888"><br>
</font></span></font></small></font></big></span></font></font><span
class="HOEnZb"><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 moz-do-not-send="true"
href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
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">
<div><br>
</div>
-- <br>
<div class="gmail_signature">Simone </div>
</div>
</blockquote>
<br>
<pre class="moz-signature" 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>
</body>
</html>