my Zope, CMF and Plone contributions
WARNING: this page is becoming outdated by the time; most
of what follows was prepared and is run in Zope 2.7 (as was distributed with
This material is alpha quality; but it is in
use in the Dida portal,
so it is tested.
here are my Debian packages for zope.
Plone has two different permissions
but the standard folder_content does not distinguish;
if you have some folders in which you want to let users add
folders but not content, you should put in portal_skins/custom my
it is also stylistically different, you may like the look.
Note that you should change the navigation box as well,
or wait until I do the change and post it :-).
- Add portal content
- Add portal folder
this helps and guides the user in adding files;
put the file file_guide.pt in the base of
portal, or in the portal_skins/custom;
add this under the actions in portal_actions
and , if you like it,
Condition python: folder is not object
Name File Adding Guide
this version of CMFOptions works with zope
and CMF 1.3
and Plone 1.0.4 as well.
(but, I did not test the Blark weblog)
imap Auth source
This provides authentication with imap+ssl for XUF a.k.a.
unpack imapAuthSource.tgz into
patch the file __init__.py in exUserFolder as follows
--- __init__.py~ Sat Jul 5 23:27:45 2003
+++ __init__.py Tue Sep 2 15:11:21 2003
@@ -32,6 +32,7 @@
if you want to use XUF with Plone or CMF, install XUFTools.tgz
(by Harry Wilkinson, with a small patch from me, to see the icon);
then, substitute the portal_memberdata with the one created
by this tool
NOTE: since imapAuthSource stores the
roles of a user as the property "_roles" of the user,
when you create a exUserFolder in a CMF or Plone,
DO NOT CHOOSE "portal memberdata wrapper" as the property source!
otherwise the imap auth source will loop!
Plone needs some extra
member properties: go to properties of the portal_memberdata,
and add the following
this version of ExtFile.tgz was modified to
it can be used in CMFOptions, or in CMF_Mennucc.tgz:
both define the "CMF External File" object, to be used in CMF or Plone
(the latter is more tested)
- to make it more similar to Image.File
- to have real undos (but, the undo part is unfinished)
- so that it will delete files from the repository when the object
is deleted from zope
- because I did not like some parts of the code :-)
Disclaimer: the content of this page and the ones following
represent only the opinion and work of the author and not that of the
Scuola Normale Superiore.
Please pay a lot of attention. In May 1997 Italian parliament passed a
privacy law that makes it illegal to collect or trade information about
individuals or companies without their prior written approval; this
includes addresses, telephone numbers AND e-mail addresses.
Similair laws exist also in the U.S.A.: "By US Code Title 47,
Sec.227(a)(2)(B), a computer/modem/printer meets the definition of a
telephone fax machine. By Sec.227(b)(1)(C), it is unlawful to send any
unsolicited advertisement to such equipment. By Sec.227(b)(3)(C), a
violation of the aforementioned Section is punishable by action to
recover actual monetary loss, or $500, whichever is greater, for each
Since I am a USA national, I appeal also to these laws. I DO NOT GIVE
YOU MY CONSENT. YOU MUST DELETE ANY REFERENCE TO ME, IMMEDIATELY.