[GeoNode-users] geonode-project for templates
annalisa.schiavon at gmail.com
Fri Jul 7 03:02:31 PDT 2017
Ok, now it works.
Maybe it was a cache problem of the browser or of the path to .js ...
2017-07-07 11:04 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
> 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
> 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.
> 2017-07-07 10:48 GMT+02:00 Annalisa Schiavon <annalisa.schiavon at gmail.com>
>> Hi all!
>> I've create a new template after having upgraded geonode (to 2.6.1) with
>> this instructions:
>> $ django-admin startproject geoportale26 --template=https://github.com/GeoNode/geonode-project/archive/2.6.zip -epy,rst
>> $ sudo pip install -e geoportale26
>> according these instructions: https://github.com/GeoNode/geonode-project
>> But I've chosed 2.6 branch, is it correct?
>> I've these problems:
>> 1. I don'y have 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/geoportale26.
>> 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 "geo_header.html"
>> under templates/geonode seems have no effect on the new site! In geo_header.html
>> I call geoexplorer-debug.js instead of geoexplorer.js, how can I do?
>> 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?
>> Thanks to all
>> 2017-06-29 13:51 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>> Hi Annalisa, it works in the same way.
>>> 2017-06-29 12:43 GMT+02:00 Annalisa Schiavon <
>>> annalisa.schiavon at gmail.com>:
>>>> Hi all!
>>>> In our geonode 2.4 site I used geonode-project to customize logo,
>>>> images and little else.
>>>> For geonode 2.6, can I use it in the same way? Do you suggest to follow
>>>> these instructions: https://github.com/GeoNode/geonode-project
>>>> (connect to geonode/stable) ? It works in the same way?
>>>> Is there any up-to-date documentation?
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users