[Zope-dev] encrypted _ac_name & _ac_password

2004-12-26 Thread Declan Shanaghy
passed to it. --On Donnerstag, 23. Dezember 2004 11:47 Uhr -0800 Declan Shanaghy <[EMAIL PROTECTED]> wrote: > I have set up a portal of shopping sites. > Each merchant we support has their own domain set up. > > e.g. > > http://www.some-merchant.com > > Seeing as t

Re: [Zope-dev] FileUpload questions

2003-08-14 Thread Declan Shanaghy
Its handy enough to implement. lets say your file parameter is called 'file'... #os_uploadCacheImage is a Zope External method. if request.has_key('file'): context.os_uploadCacheImage(context.PATH_CACHE, request['file'], request['file'].filename) #co-responding implementation for zope external

[Zope-dev] why cant i import types

2003-08-14 Thread Declan Shanaghy
Can someone tell me why i cant import types into my python script in CMF? When i put either of the following lines as the first line of my script i get the error that follows from types import * - produces Error Type: ImportError Error Value: "from types import *" is not allowed from types import

[Zope-dev] ZCVSMixin Import Error

2003-08-14 Thread Declan Shanaghy
Has anyone ever got an error similar to the one below when trying to import files thru ZCVSMixin (AFTER they were exported from same application) The file was not modified in any way but it refuses to re-import after being exported. Failed Imports /var/workspace//350nice/products/orderitnice/zop

[Zope-dev] invokeFactory problem

2003-08-01 Thread Declan Shanaghy
I have a portal_type called ClientBill. I can create it by using the folder_factories script no problem. I want to create one in the users home folder programatically, when they register in the portal. I have been able to do stuff like this before no problem so i copied and pasted the (other work