[GeoNode-devel] Possibility to not show any information on startpage for without login?

Vivien Deparday vivien.deparday at gmail.com
Wed May 6 07:37:03 PDT 2015


Had sent this answer a couple days ago but on the old mailing so re-sending:

Hi Rainer,

If you look for LOCKDOWN_GEONODE in
http://docs.geonode.org/en/master/reference/developers/settings.html , I
think it should do what you want

Cheers,

Vivien

On Mon, May 4, 2015 at 6:51 AM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> Hi in geonode 2.4 there is not a list of new maps in home page, for the
> list of people you can do something very similar to the solution suggested
> before. The django admin is made just to deal with the data and not to
> customize functionalities.  If you have to change the code consider using
> this https://github.com/GeoNode/geonode-project/tree/2.4 that allows you
> to customize the code without changing the geonode core code.
>
>
>
> 2015-05-04 12:27 GMT+02:00 Rainer Lissewski <r.lissewski at aplikate.eu>:
>
>> Hi and thanks,
>>
>> as of 2.4 the list of newest maps doesnt show if not logged in.
>> Nevertheless, the "peoples" list is available to not-logged in users.
>>
>> Is there a way in 2.4 to avoid this via the Django Admin GUI or do I have
>> to customize code?
>>
>> Kind regards
>>
>> _____________________________________
>> *A P L I K @ T E . E U <http://www.aplikate.eu/>*
>> Linux, GIS and database developer team
>>
>> Wittmannsdorfer Str. 4
>> 12053 Berlin
>> Germany / Allemagne
>>
>> Tel.: +49 (0) 30 28 45 40 71
>> Mobil: +49 (0) 163 681 77 34
>> Fax: +49 (0)30 / 48 49 81 286
>>
>> 2015-05-04 11:39 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>
>>> Hi,
>>> you have to customize your code
>>> https://github.com/GeoNode/geonode/blob/2.0.x/geonode/templates/index.html#L68 here
>>> and
>>> https://github.com/GeoNode/geonode/blob/2.0.x/geonode/people/templates/people/profile_list.html,
>>> you can wrap the layer list around a {% if user.is_authenticated %} block.
>>>
>>> Regards
>>>
>>> 2015-05-04 11:33 GMT+02:00 Rainer Lissewski <r.lissewski at aplikate.eu>:
>>>
>>>>
>>>> Hi, is there a posibility to avoid showing the "newes maps" and the
>>>> "People" information to the world, i.e. when not logged in? I am on geonode
>>>> 2.0.1.
>>>>
>>>>
>>>> Kind regards,
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> geonode-devel mailing list
>>>> geonode-devel at lists.osgeo.org
>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>> _______________________________________________
>> geonode-devel mailing list
>> geonode-devel at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
>>
>>
>
>
> --
> Simone
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20150506/71db6765/attachment.html>


More information about the geonode-devel mailing list