Recent items for non-members

February 16th, 2005

My Plone site is a non-member site - i.e. I can log on and change stuff, but everyone else just gets to look. The "Recent Items" portlet that comes with Plone is based on your last login date/time, so it doesn't show up if you aren't logged in.

A simple method for getting a list of recent items that everyone gets to see is very nicely explained at www.zettai.net/Forums/04/1081998202/view.

For a large, high-volume site you'd need to do something a bit smarter to work out the date 2 or 3 weeks ago (or less), but for my purposes using

tal:define="last_login_time python:DateTime('1/1/2005'); ... 

works fine.

Potentially similar posts

Leave a comment