<div dir="ltr">Annalisa,<div><br></div><div>no need for a local settings actually, just use the settings of your template project. It is already the 2.6 branch and is correct for geonode 2.6.</div><div><br></div><div>For templates you need to have the same folders structure as geonode does in order for the template to be used, and your template project needs to be in installed apps. For you the geo_header should be in my_geonode/templates/geonode. This is a django normal configuration and is also django that will find and render the templates inside the folders.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-07 10:48 GMT+02:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all!<div>I've create a new template after having upgraded geonode (to 2.6.1) with this instructions:</div><div><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46)">$ django-admin startproject geoportale26 --template=<a href="https://github.com/GeoNode/geonode-project/archive/2.6.zip" target="_blank">https://github.com/<wbr>GeoNode/geonode-project/<wbr>archive/2.6.zip</a> -epy,rst
$ sudo pip install -e geoportale26 </pre></div><div>according these instructions: <a href="https://github.com/GeoNode/geonode-project" target="_blank">https://github.<wbr>com/GeoNode/geonode-project</a></div><div>But I've chosed 2.6 branch, is it correct?</div><div><br></div><div>I've these problems:</div><div><font face="arial, helvetica, sans-serif">1. I don'y have <span style="color:rgb(36,41,46)">local_settings.py.sample in my dir, so I don't renamed it and I've got only a settings.py in my dir geoportale26/</span><span style="color:rgb(36,41,46)">geoportale26. </span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(36,41,46)">2. I changed/added some files in static dir (site_base.css, img, js and geoexplorer-debug.js) and in template dir, but the file "</span></font><font color="#24292e" face="arial, helvetica, sans-serif">geo_header.html" under templates/geonode seems have no effect on the new site! In </font><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">geo_header.html I call </span><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">geoexplorer-debug.js instead of </span><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">geoexplorer.js, how can I do?</span></div><div><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">To apply changes, I run python collectstatic, and it replaces original static files in /var/www/geonode/static with mine, but how does it work with templates?</span></div><div><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">Thanks to all</span></div><div><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">Annalisa</span></div><div><span style="color:rgb(36,41,46);font-family:arial,helvetica,sans-serif"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-29 13:51 GMT+02:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Annalisa, it works in the same way.<div><br></div><div>Best</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4541863407727788838h5">2017-06-29 12:43 GMT+02:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-4541863407727788838h5"><div dir="ltr">Hi all!<div>In our geonode 2.4 site I used geonode-project to customize logo, images and little else.</div><div>For geonode 2.6, can I use it in the same way? Do you suggest to follow these instructions: <a href="https://github.com/GeoNode/geonode-project" target="_blank">https://github.com/GeoNode/geo<wbr>node-project</a> (connect to geonode/stable) ? It works in the same way?</div><div>Is there any up-to-date documentation?</div><div><br></div><div>Thanks</div><span class="m_-4541863407727788838m_4926897887155296925HOEnZb"><font color="#888888"><div>Annalisa</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<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="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_-4541863407727788838HOEnZb"><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-4541863407727788838m_4926897887155296925gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>