Re: [Zope] error trying to import smtplib (unauthorized)

2005-10-13 Thread David Convent
Python scripts are run in a restricted environment, move your code to either an external method or a python zope product built on the filesystem Nicolas Georgakopoulos wrote: Trying to execute the following code from a python script from smtplib import SMTP from email.MIMEText import MIMETex

Re: [Zope] BTreeFolder doubleclick patch

2005-07-08 Thread David Convent
Peter Bengtsson wrote: Shane (and the Zope list), I've patched your lovely BTreeFolder2 product (version 1.0.1) so that I can doubleclick on options in the dropdown instead of having to click the Edit button. This is using Javascript and if Javascript is disabled, nothing happens, it just goes b

Re: [Zope] Code

2005-04-28 Thread David Convent
Hi Jean, if you want to use python code in an unrestricted environement, you should use ExternalMethods or write Python based Zope product on your filesystem. External Methods are better choice to beging with. You can learn more about External Methods from the Zope Book. Regards, [EMAIL PROTECT

Re: [Zope] Folder Listing as a Plone Portlet Mini-HOWTO (draft)

2005-04-01 Thread David Convent
Matthew X. Economou wrote: http://web.irtnog.org/Members/xenophon/plone/portlet-folder-contents This folder listing portlet displays the title of the folder, its description, and a list of each item in the folder. Mousing over each link pops up its description in browsers that understand the title