[Zope-CMF] How to make type PUBLISHED

Norman Khine norman@khine.net
Tue, 25 Sep 2001 00:20:36 +0100


Hi,
I am following the example by Greg
http://www.zope.org/Members/gregweb/cmf_add_objects_at_member_creation and
have it working, but am unclear as to how I can set something to be in
PUBLISHED state once it has been generated from the __init__.py file

Image.addImage(f,
                       'your_logo',
                        title = '%s Home' % member_id,
                        file = filedata,
                        format = 'image/gif')

Thanks

Norman

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zz/********/z/****\zzz|****\*\zz|*******|z
z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz