[Zope] Getting username of last editor

Etienne Labuschagne ELabuschagne@gims.com
Fri, 14 Sep 2001 13:59:27 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C13D14.B4573960
Content-Type: text/plain;
	charset="iso-8859-1"

Hi there,
 
How do I get the UserName of the last user that changed an object.
 
I just want a simple: This page was last edited by xxxxx on yyyyy on my
pages.
 
The yyyy part is easy (bobobase_modifiction_time), but so far I had no luck
in getting the last user.  Looked at History.py and history.dtml until my
head hurt and still none the wiser!
 
Thanks
Etienne

------_=_NextPart_001_01C13D14.B4573960
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma size=2>Hi 
there,</FONT></SPAN></DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma size=2>How do I get the 
UserName of the last user that changed an object.</FONT></SPAN></DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma size=2>I just want a 
simple: This page was last edited by xxxxx on yyyyy on my 
pages.</FONT></SPAN></DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma size=2>The yyyy part is 
easy (bobobase_modifiction_time), but so far I had no luck in getting the last 
user.&nbsp; Looked at History.py and history.dtml until my head hurt and still 
none the wiser!</FONT></SPAN></DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma 
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=398464511-14092001><FONT face=Tahoma 
size=2>Etienne</FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C13D14.B4573960--