[Zope] How to add a zPT File?
Roger Ineichen
r.ineichen@projekt01.ch
Tue, 30 Apr 2002 17:58:07 +0200
Hello together
Can anybody tell me, how I can add a ZPT-File in a Class in=20
Python. The file should be in the class after add...
What's the different between to add a DTML Document like below:
def addDocumentObject(self,id,file,title=3D''):
""" create a DTML Document object """
=09
self.manage_addDTMLDocument(id=3Did,file=3DDTMLFile("Products/P01_Downloa=
dFo
lderManager/"+file),title=3Dtitle)
addDocumentObject(admin.skin.users,'delUserForm','skin/dtml/delUserForm'
,'delete User')
Mit freundlichen Gr=FCssen
Roger Ineichen
___________________________
Projekt01 GmbH
www.projekt01.ch
Langackerstrasse 8
6330 Cham
phone +41 (0)41 781 01 78
mobile +41 (0)79 340 52 32
fax +41 (0)41 781 00 78
email r.ineichen@projekt01.ch
___________________________
END OF MESSAGE=20