Re: [Zope] NEWBIE: assign next free ID automatically

2000-10-15 Thread jensebaer
Hi, it is not tested but may it works dtml-call "REQUEST.set('newid', _.string.atoi('0'))" dtml-in "objectValues('DTML Document')" dtml-if "_.int(id) = newid" dtml-call "REQUEST.set('newid', _.int(id) + _.string.atoi('1'))" /dtml-if /dtml-in Your new id is: dtml-var newid may you

Re: [Zope] Fw: mysqldb

2000-10-13 Thread jensebaer
- Original Message - From: "jensebaer" [EMAIL PROTECTED] To: "Dale Lance" [EMAIL PROTECTED] Sent: Friday, October 13, 2000 2:43 PM Subject: Re: [Zope] Fw: mysqldb Hi Dale, put this in your setup or/and setup.in file under ../lib/python/Products/ZMySQLDA/MySQ

[Zope] LocalFS manage_addFolder solution?

2000-10-05 Thread jensebaer
Hi all, I want to create an LocalFS object. I use dtml-call "manage_addLocalFS('localfsfolder', 'title', '/home/zope')" but that doesn´t work. Simular to dtml-call "manage_addFolder('Folder', 'Tis is the title')"that works Error Type: NameErrorError Value: manage_addLocalFS

[Zope] LocalFS manage_addFolder solution?

2000-10-01 Thread jensebaer
Hi all, while searching for a solution to add a folder to LocalFS, I found this message: __ Folder creation isn't really supported in LocalFS at the moment. Very low level support is there (module function

[Zope] How to change Unauthorized error message?

2000-09-28 Thread jensebaer
Hi all, Iwant to give out another error message(not the standard error message) when logging was without success. Zope Error Zope has encountered an error while publishing this resource. UnauthorizedYou are not authorized to access this resource.

[Zope] String manipulation

2000-09-26 Thread jensebaer
Hi all, how can I manage it to cut a string. for example: a string property(testtext) with 500 words. but only want to give out 20 characters of tis text. Thank you Jens

[Zope] Re: Upload on a local File System

2000-08-08 Thread jensebaer
Hi Francois, try this: upload_image_form - FORM ACTION="upload_image" METHOD="POST" ENCTYPE="multipart/form-data" TABLE CELLSPACING="2" TR TH ALIGN="LEFT" VALIGN="TOP"File/TH TD ALIGN="LEFT" VALIGN="TOP" INPUT

[Zope] Still Problem with LocalFS

2000-06-27 Thread jensebaer
- Original Message - From: jensebaer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 24, 2000 6:52 PM Subject: Re: [Zope] Re: Problem with LocalFS Ok now I placed the dtml files (savefile.dtml upload.dtml) in the LocalFS Folder but the problem is still the same: When I use

Re: [Zope] Re: Problem with LocalFS

2000-06-24 Thread jensebaer
addimage form then the given. My I have to use another manage function? Or is there a special sytax to do this? You wrote that it works from inside LocalFS so may you can give me an example. Thank you Jens - Original Message - From: Jonothan Farr [EMAIL PROTECTED] To: jensebaer [EMAIL

[Zope] Problem with LocalFS

2000-06-22 Thread jensebaer
Hello, I want to upload files to LocalFS. I created a LocalFS with the id: images I don´t want to use the existing addImageForm to create a new Image in the LocalFS. I want to use two DTML Methods uploadform form

[Zope] How can I upload files to mySQL

2000-06-19 Thread jensebaer
Hello, I am using Zope and mySQL and want to load up text and Images to text or blob fields. How can I upload file content to TEXT (plain text) and BLOB (images: jpg, gif) using DTML? Thanks Jens