[Zope-CMF] Automatically Adding Zclass Content to a Member's folder

Yoni Hammer Kossoy yonih@mandelschool.org.il
Tue, 18 Jun 2002 14:24:22 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C216C3.13B9C24E
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'd like to add a document based on a Zclass to a member's folder when a
new member is created.=20

I took a look at CMFDefault/MembershipTool.py and it seems like it
should be relatively easy to add in this functionality -- the problem is
that writing the proper python syntax is a bit beyond me. Can someone
please help me with the correct python code so that I can call a Zclass
from MembershipTool.py or, perhaps suggest an alternative approach?

Thanks in advance,

Yoni Hammer-Kossoy



------_=_NextPart_001_01C216C3.13B9C24E
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.5762.3">
<TITLE>Automatically Adding Zclass Content to a Member's folder</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I'd like =
to add a document based on a Zclass to a member's folder when a new =
member is created. </FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I took a =
look at CMFDefault/MembershipTool.py and it seems like it should be =
relatively easy to add in this functionality -- the problem is that =
writing the proper python syntax is a bit beyond me. Can someone please =
help me with the correct python code so that I can call a Zclass from =
MembershipTool.py or, perhaps suggest an alternative =
approach?</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Thanks =
in advance,</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Yoni =
Hammer-Kossoy</FONT></SPAN></P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C216C3.13B9C24E--