[Zope] Sorting a list

2000-07-08 Thread RC Compaan
I have a list: mylist=[('R',31),('I',80),('A',80),('S',23),('E',35),('C',21)] I want to rebuild the list sorted from high to low on the sequence-item. When i call dtml-in mylist sort=sequence-item reverse the list gets sorted on the sequence-key not the sequence-item. As I understand the

[Zope] Zope server Dies

2000-07-08 Thread Indra Gunawan
My Zope server dies miserably after I install the mysql adapter (it still dies after I delete the adaper files manually.) These are the only error messages I could retrieve from the server. could anyone help me? I use win98 Thanks -IGUN- asynchat.async_chat.handle_error (self) File

RE: [Zope] Zope server Dies

2000-07-08 Thread Gijs Reulen
Have you read the how-to on http://www.zope.org/Members/philh/mysql ? It worked perfectly for me, except that the libmysql.dll that came with mySQL gave me troubles, but after replacing it with the version mentioned in the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL

Re: [Zope] Zope server Dies

2000-07-08 Thread Indra Gunawan
Have you read the how-to on http://www.zope.org/Members/philh/mysql ? It worked perfectly for me, except that the libmysql.dll that came with mySQL gave me troubles, but after replacing it with the version mentioned in the how-to everything worked perfectly: Win2000, Zope 2.1.6, mySQL

Re: [Zope] delete objet via a form

2000-07-08 Thread Steve Spicklemire
This seems to work: delete_form: dtml-var standard_html_header h2dtml-var title_or_id/h2 FORM ACTION="delete" method="POST" dtml-in "objectValues(['File'])" sort=id INPUT TYPE="CHECKBOX" NAME="ids:list" VALUE="dtml-var id" dtml-var idp /dtml-in INPUT TYPE="SUBMIT" /form dtml-var

[Zope] Zsql_method doesnt work

2000-07-08 Thread Mario Premke
Hi, I have the ZSQL-Method: arguments : login select user_passwd as real_password from users where users.user_login=dtml-sqlvar name=login type=string when I now press "change and test" and insert a valid login into the Login-field I get: Error, Missing Input: Missing input variable, login

[Zope] strange catalog problem

2000-07-08 Thread ed colmar
Here's a weird one. I'm testing out my products catalog functionality, and I'm seeing strange results. I add an object "A" with an indexed variable called 'styles' that contains the values: ['Ambient', 'Breakbeat', 'Downtempo'] I add a second object "B" with the varaibles: ('Ambient',

Re: [Zope] strange catalog problem

2000-07-08 Thread Chris Withers
Hi Ed, What version of Zope are you using? If it's 2.1.6 or earlier, have you patched ZCatalog? IIRC, it's slightly broken and causes exactly the same kind of problems as this... http://www.zope.org/Members/chrisw/Squishdot has a link to the fix for this problem on it (somewhere ;-) cheers,

[Zope] Newbie questions: Job_board Howto, ZCatalog, Squishdot

2000-07-08 Thread Meeting Maker Webmaster
Hello, I've started looking into Zope to build our future sites and from what I've seen, I love it. I have installed Zope 2.1.6 and 2.2.0b3 for my tests, running on a RedHat 6.2 server (Apache with pcgi). I had a few problems / questions I wasn't able to find an answer for in the various

Re: [Zope] delete objet via a form

2000-07-08 Thread FR Chalaoux
Thanks, it works fine. FR ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

[Zope] [Repeat] Nt server w/ Zope

2000-07-08 Thread J. Michael Mc Kay
Trying again for help. If I stop Zope as a service from NT's Service Manager or from the Zope management interface it seems to kick and scream while restarting. In the application log I see repeated errors stating the service could not start. These repeat until the application log is full. Zope

[Zope] Resizing uploaded image in external method with Pil

2000-07-08 Thread Anja DeRidder
Resizing uploaded image in external method with Pil Peter Sebrechts [EMAIL PROTECTED] Hello, I have a Form, where I can select an Image to upload, combined with several fill-in fields for the Image-properties. The Form starts with: form action="add_newImage_html" METHOD="POST"

[Zope] Am I getting the idea correctly?

2000-07-08 Thread Frank Isaacs
I'm so new to Zope that I can barely even spell it. But I'm about to spend some time and effort getting proficient with something that enables dynamic, database-connected (and database-updateable) content on web sites so I can sell it to clients, and the appeal of Zope is overwhelming in

Re: [Zope] MySQLDA Won't build

2000-07-08 Thread Phil Harris
What version of MySQL is it? - Original Message - From: Darin Lee To: [EMAIL PROTECTED] Sent: 08 July 2000 22:35 Subject: [Zope] MySQLDA Won't build Help, I cannot get the MySQL Database Adaptor to build. Error: gcc -shared _mysqlmodule.o

Re: [Zope] Am I getting the idea correctly?

2000-07-08 Thread Andy McKay
You still have to write dtml by hand, but you could say Dreamweaver to connect via FTP to Zope. You can then edit the documents in html. Or use you favorite WSYIWYG and ftp / cut and paste them in. For a tool that includes all the dtml check out the one day it might be ready - Zope Studio.

RE: [Zope] Am I getting the idea correctly?

2000-07-08 Thread Richard Folwell
You can use whatever GUI type tools you currently use to create your web pages to use with Zope. This will not make the best use of Zope, but it will work. Zope makes available an FTP interface to its internal database structure, so it is possible to use it more or less exactly as you would

[Zope] SV: [Zope] http://www.zope.org: HORRIBLE HTML

2000-07-08 Thread peter be
Please, take a look at the errors the validator outputs before you post messages like "Is Zope buggy..." Well you did at least draw some attention to the thing, but I must be honest and say that I'm quite happy with the way Zope produces HTML. Hope you don't feel like I'm barking back, but

Re: [Zope] cr/lf causing spaces

2000-07-08 Thread Ben Leslie
Hello Folks, One of my "favorite" issues with win/DOS has always been its use of CR+LF combinations. Why? Because all browsers interpret the thing as a SPACE. AFAIK this is an HTML thing, not a win/DOS thing. The HTML spec treats any whitespace as a space. Would it be possible for

Re: [Zope] cr/lf causing spaces

2000-07-08 Thread Nils Jeppe
On Sun, 9 Jul 2000, Ben Leslie wrote: One of my "favorite" issues with win/DOS has always been its use of CR+LF combinations. Why? Because all browsers interpret the thing as a SPACE. AFAIK this is an HTML thing, not a win/DOS thing. The HTML spec treats any whitespace as a space. Well

[Zope-dev] dtml-try/except triggers namespace bug

2000-07-08 Thread Ng Pheng Siong
Hi, I've run into a bug with dtml-try/except with Zope 2.2.0b3. I have a folder called 'root' that looks like this: one (folder) two (folder) three (folder) a_one (dtml method) a_two (dtml method) index_html (dtml method) index_html looks like this: dtml-try dtml-var

[Zope-dev] LoginManager patch considered harmful (was Re: can't addloginmanager below root) loginmanager below root)

2000-07-08 Thread Phillip J. Eby
At 09:21 PM 6/28/00 +, Ty Sarna wrote: In article [EMAIL PROTECTED], Shane Hathaway [EMAIL PROTECTED] wrote: Ok folks, I thought I had made it clear that this problem has been solved. I have sent a patch to Ty (about two weeks ago) as well as made the change in Sorry for the delay.