Q: showing last modification-time of a Folder
i have a webpage with a box on the right side which shows the user some info about his settings. ( http://www.cruciatuz.de/ ) 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. how do i do that? -- thx in advance, Stefan Antoni ---------------------------- Son Jan 27 11:18:14 EST 2002
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
participants (2)
-
cruciatuz -
Dieter Maurer