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
- 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
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
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
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.
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
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
- 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
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
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
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
11 matches
Mail list logo