Help, pls! I have a ZClass that is functioning beautifully if I am logged
in, but the anonymous user keeps getting prompted for a password. The
problem occurs when my DTML method trys to create a new instance of the
ZClass. I tried giving that DTML method a Proxy of "Manager" but that isn't
I'm a newbie, but I just finished doing what you are trying to do. Here's
how I did it:
Product name: NewsItem
Property Sheet: NewsProperties
In the BuildNews dtml method:
dtml-call "REQUEST.set('ts', ZopeTime())"
Hi Terry - Disclaimer: I'm a Zope Newbie...
Here's what I'd try:
Length of the value of Area is: dtml-var
Length of the 'strip'ped value of Area is: dtml-var
If you see somethinkg like:
Length of the value of Area is: 4 (or more)
In the Zope book beta version there is a section on installing Zope on
- Or -
There are also a few good howtos on the Zope.org site, here's one to get you
In light of all the hubbub about the Zope book, I thought I would try and
make my own copy of it in PDF format (just for me, of course). I'm finding
that Acrobat doesn't know how to convert the PNG image file type used in the
Zope Book. (or rather, I don't know how to get it to work !) Anyone
// I haven't seen any documentation on how to add CGI capability to Zope.
// Before I spend my time writing a product or external method that allows
// me to call CGI programs from inside Zope, has anyone else already done
I have a C++ program I run from Zope and then return
Oops, replace "gashtg" with "interestingValue" below. Sorry I missed
Zope maillist - [EMAIL PROTECTED]
Wow, you've left me in the dust. I've not needed to try what you are
attempting and I don't know how Zope would handle passing the RESPONSE buck
to another application. I hope someone with more "Zen" can answer the
particulars for you!
Best of luck.
// However, I have a couple
Oops, forgot to send this one to the list...
From: Eric Walstad [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 3:40 PM
To: Steve Drees
Subject: RE: [Zope] Cookies Expiration
Your solution is very cool! I'm going to use
FYI, some of the list members have great difficulty in reading HTML
formatted messages. It's best if you set your format to "Plain Text" before
submitting to the list.
I haven't yet implemented what you are considering, but I am interested in
doing so soon. So, I am very interested
Here's some DTML I use to generate a CSV file on the fly using data returned
from a query of a MySQL database:
I use the following format:
users@frankenstein privileged_user ThePassWord
- or in general terms -
TableName[@HostNameOfMachineMySQLIsRunningOn] MySQLUserName ThePassWord
I guess the "@HostNameOfMachineMySQLIsRunningOn" part is optional, but I
needed to put it in there for my setup.
ZopeDateTime.day() + 1
i = 2
while i Months:
nextDate = ZopeDateTime + days
days = days + self.daysPerMonth(nextDate)
i = i + 1
days = days + ZopeDateTime.day() - 1
return ZopeDateTime + days
From: Eric Walstad [mailto:[EMAIL PROTECTE
Try closing down all instances of your browser, then open up your browser
and login as your admin user. You will be "logged out" when you close all
instances of your browser.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ot
There's a good tutorial on how to design forms at:
little on the server. I use Regular Expressions to check the validity of
each field. There's a tutorial at:
Are you able to create a "Z MySQL Database Connection" inside Zope?
I'm not sure exactly when you are receiving your error message. Is it when
you Click the "Change" button while in the "Z MySQL Database Connection?"
Your connection string looks like it is missing a user name. It
I have a Python Metho... er Python Script that I use that tells me the days
in each month. You pass in a Zope DateTime object as a parameter and it
returns the days in that month:
-8-- Start Snip --8-
First off, I think there are some users in the list that are unable to read
HTML formatted email. I've seen a lot of requests for folks to send only
plain text messages to the list.
Well, I don't run Zope on a Windows machine, so maybe I'm wrong here, but
the output you've shown
Hi Paolo, you should post your solution to the mailing list so that if
others run into your same problem they can find your solution by searching
ht emailing list archives.
Just a thought.
// -Original Message-
// From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
After installing the ZPoPyDA product, restarting Zope and browsing to the
Products interface, I see:
ZPoPyDA Import Traceback
Traceback (innermost last):
File "/usr/local/Zope/lib/python/OFS/Application.py", line 397, in
s. I searched the ZPoPyDA python
source for hard coded paths but didn't find any. Is there an environment
variable that sets this?
Thanks for any help...
Should get you started...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of vishnu
Sent: Tuesday, January 09, 2001 3:17 PM
To: [EMAIL PROTECTED]
Subject: [Zope] MySQL
can anyone update me
// I want to get some properties for a zclass instance after being
// passed its
// id in a variable. In these tests I have been defining the varible in the
// code, in the final case it will be passed through the url.
// Using the id directly as above works fine, it writes the
// What I'm not sure about is how to have Zope automatically
// display the photo
// for a day, then archive it. Would a boolean property of the
// ZClass work? Is
// it possible to have Zope set the property of a ZClass instance
// at certain
// time? Any thoughts on how this would be
Mail list logo