[Zope] Q: showing last modification-time of a Folder

Dieter Maurer dieter@handshake.de
Sun, 27 Jan 2002 19:08:35 +0100


cruciatuz writes:
 > i want to add something like:
 > last siteupdate: [last update of a file in the folder where the site is located]
 > 
 > the folder is called /clan
 > i want to show the time of the last modification of a file in this
 > folder, so that the user can see if something was updated.
You can use "ZopeFind" or "objectValues" to enumerate the folder's
content.

You can use the method "bobobase_modification_time" to access the time
of last modification.

You can use the "dtml-in" statistics variables to obtain the last modification
time.

You may find more details in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>


Dieter