[Zope] manage_change_history

Zimmermann, Mark MarkZimmermann@schmuecker.de
Wed, 27 Feb 2002 10:49:24 +0100


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_01C1BF74.09FB24D0
Content-Type: text/plain;
	charset="iso-8859-1"

hi,
i heard about "manage_change_history" is there someone who can tell me how i
could create a list of all history versions of a dtml document ?
 
like
 
dtml-in manage_change_history
  version number
  user
  date
  content of DTML Document
/dtml-in
 
 
 
I already use
 
<dtml-if manage_change_history>
  <dtml-in manage_change_history mapping>
    <dtml-if sequence-start>
      <dtml-var user_name>
    </dtml-if>
  </dtml-in>
</dtml-if>
 
but this gives me only "one" user_name back :-(

------_=_NextPart_001_01C1BF74.09FB24D0
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">
<TITLE>[Zope] CSS to DTML Document ?</TITLE>

<META content="MSHTML 6.00.2712.300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>h<SPAN 
class=683534709-27022002>i,</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>i heard about "manage_change_history" is 
there someone who can tell me how i could create a list of all history versions 
of a dtml document ?</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002>like</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>dtml-in 
manage_change_history</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>&nbsp; version 
number</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>&nbsp; 
user</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>&nbsp; 
date</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>&nbsp; content of DTML 
Document</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002>/dtml-in</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>I already 
use</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>&lt;dtml-if 
manage_change_history&gt;<BR>&nbsp; &lt;dtml-in manage_change_history 
mapping&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;dtml-if 
sequence-start&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dtml-var 
user_name&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/dtml-if&gt;<BR>&nbsp; 
&lt;/dtml-in&gt;<BR>&lt;/dtml-if&gt;</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN 
class=683534709-27022002></SPAN></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=683534709-27022002><FONT face=Arial><FONT color=#0000ff><FONT 
size=2><SPAN class=683534709-27022002>but this gives me only "one" user_name 
back :-(</SPAN></FONT></FONT></FONT></SPAN></DIV></BODY></HTML>

------_=_NextPart_001_01C1BF74.09FB24D0--