[Zope-dev] Problem by counting the number of result of database query

2000-07-29 Thread Bruno Nana
Hi, I have one problem with a Zmethod. Here is the method: select *,summe=sum(count(*)) from neuigkeiten where ( username like '%!--#var suche--%' or autorloginname like '%!--#var suche--%' or headline like '%!--#var suche--%' or textfeld like '%!--#var suche--%') order by headline

[Zope-dev] MethodGeddon

2000-07-29 Thread Chris Withers
http://www.zope.org/Wikis/zope-dev/MethodGeddon Just been reading about this and I was wondering how is coming along... Is it in the fishbowl under another name or should it be in the fishbowl? Shane, would the argument list be a management tab for methods? That sounds cool to me :-) I reckon

[Zope-dev] AcquisitionMadness

2000-07-29 Thread Chris Withers
Evan, I wonder if the changes Shane suggested in MethodGeddon would make Simplified Acquistion suffice for what Steve was asking about? Also can you explain how from the example: Two path acquisition: A contains B1 and C1, B1 contains B2, C1 contains C2 How (Natural Acquisition): A.B1.B2.C1 ==

[Zope-dev] Renaming ZClass instances in 2.2.0

2000-07-29 Thread Steve Alexander
In Zope 2.2.0, I can't rename ZClass instances. When you rename something, lib/python/OFS/CopySupport.py's _verifyObjectPaste() method gets called with the object you're renaming as an argument. The method checks that the current user is authorized to create objects of that kind, and that the

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-29 Thread Aleksander Salwa
Of course, I need to customize and test my LoginManager instance, so new troubles may arise soon :) So I'm back ;) On Mon, 24 Jul 2000, Bill Anderson wrote: for doing so. You can search the archives, and it would be a decent idea to look at the Membership *alpha* product, as it is an

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-29 Thread Bill Anderson
Aleksander Salwa wrote: Of course, I need to customize and test my LoginManager instance, so new troubles may arise soon :) So I'm back ;) On Mon, 24 Jul 2000, Bill Anderson wrote: for doing so. You can search the archives, and it would be a decent idea to look at the

[Zope] How I can find my password ? if I losted it..

2000-07-29 Thread Jonathan Desp
Hi, I'm searching in several mailing list, but I didnot get the answer, I don't remember my password, because I have several data.fs and now I'm trying to write all my password for each data.fs, do you know how to get the password somewhere ? In which file ? If I open the data.fs with for

Re: [Zope] How I can find my password ? if I losted it..

2000-07-29 Thread Marcin Kasperski
Jonathan Desp wrote: Hi, I'm searching in several mailing list, but I didnot get the answer, I don't remember my password, because I have several data.fs and now I'm trying to write all my password for each data.fs, do you know how to get the password somewhere ? In which file ? If I

Re: [Zope] Zope for secure transactions?

2000-07-29 Thread Marcin Kasperski
1. Can Zope support SSL or https? AFAIK without support of some other tool not. 2. Is there some way in Zope through which i can use secure transactions. I suspect that yes, although I have not done it. You should be able to use Apache-SSL as frontend to Zope (employing ProxyPass). There is

[Zope] 2.2.0 problem

2000-07-29 Thread shortie
hello zopers, i have compiled it from source and start it as root. but when i try 'lynx http://localhost:9080', i get nothin. lynx just display message 'HTTP request sent; waiting for response.' my plateform is redhat 6.2. the zope start message is as following: [root@firewall Zope2]#

[Zope] dtml-in 'one record per page' problem

2000-07-29 Thread Cesar A. K. Grossmann
Hi! I'm using a report that must return one instance by page, but it's not working very well... If the query returns more than one result, Zope presents only two pages. I'm using Zope 2.1.6 in a Linux box. Here are a excerpt of the dtml code used: dtml-in sqlQuery size=1

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-29 Thread Aleksander Salwa
On Sat, 29 Jul 2000, Bill Anderson wrote: Where I can find this 'Membership' product ? (I've tried www.zope-treasures.com and 'Search' on www.zope.org). http://www.zope.org/Members/Bill/Products/Membership Has the most current version. Thanks ! Finally, I got it working by my

[Zope] Package for annotating pages?

2000-07-29 Thread Marcin Kasperski
Leading small website, I would like to give my users an ability to make some annotations on those pages I imagine sth like: somewhere on the page I have small form which client can fill to comment the page contents. Client opinion is kept somewhere - but not yet visible. Some time later, the

[Zope] Easiest way to possess 'creation_time' attribute?

2000-07-29 Thread Marcin Kasperski
What is the easiest way to force DTML Methods or documents in some directory to be automatically annotated with 'creation time' attribute? I got the problem while developing simple website news page (implemented so the news are taken from dedicated subfolder and sorted via

[Zope] Worldpilot + UW-IMAP

2000-07-29 Thread Marcus Schopen
Hi there, I´m using Worldpilot (newest alpha) on Linux (SuSE 6.4). It worlks fine, but I can only create subfolders under the INBOX and no subsub-folders. Subsubfolders are not needed, but I don´t want to create all my first level subfolders under the INBOX, because other IMAP-Progs. (e.g.

Re: [Zope] Easiest way to possess 'creation_time' attribute?

2000-07-29 Thread Chris Withers
Marcin Kasperski wrote: What is the easiest way to force DTML Methods or documents in some directory to be automatically annotated with 'creation time' attribute? I got the problem while developing simple website news page (implemented so the news are taken from dedicated subfolder and

[Zope] Talking about revision history

2000-07-29 Thread Marcin Kasperski
The zope Undo mechanics is nice for clearing simple mistakes, but the screens filled with 'manage_edit by ...' does not provide too much information. What I would like is some high level website revision history. Below I discuss some ideas, please comment on them. Before details, main

[Zope] probs. with _vti_xxxx folders - anyone using FrontPage + WebDAV ???

2000-07-29 Thread Marcus Schopen
Hi there, I´m still looking for a solution to save files via WebDAV to Zope using FronPage 2000. Zope has probs with these _vti_ folders which are required by FP2000 but can´t created in Zope because of the beginning "_". Any ideas? Marcus __ (0

Re: [Zope] probs. with vti xxxx folders - anyone using FrontPage + WebDAV ???

2000-07-29 Thread Chris Withers
Marcus Schopen wrote: I´m still looking for a solution to save files via WebDAV to Zope using FronPage 2000. Zope has probs with these _vti_ folders which are required by FP2000 but can´t created in Zope because of the beginning "_". Find a way to change the name of the _vti folders in

[Zope] What is the best method to enter more attributes about DTL Document?

2000-07-29 Thread Marcin Kasperski
Short and probably obvious problem: what can I do to be asked for more properties while creating DTML Document (say I wanna be asked about description and keywords which I use in meta tags)? -- www.mk.maxi.pl | Even if we could state all of a system's Marcin.Kasperski |

[Zope] create DTML-Source-link like on zope.org

2000-07-29 Thread Marcus Schopen
Hi there, how is it possible to create "show DTML-Source"-link like on some sites on zope.org. Thank you Marcus __ (0 Marcus Schopen //\ Bielefeld, Germany V_/_ __

[Zope] Re: probs. with vti xxxx folders - anyone using FrontPage

2000-07-29 Thread Chris Withers
Maybe :-) Chris Marcus Schopen wrote: Hi Chris, may be Apache with rewrite-rules for these folders could be a way Marcus __ (0 Marcus Schopen //\ Bielefeld, Germany V_/_ __

Re: [Zope] create DTML-Source-link like on zope.org

2000-07-29 Thread Chris Withers
Put a link as follows on your page: a href="view_source"show DTML-Source/a Then create a dtml method called view_source. What do you put in it? Well, see the following: http://www.zope.org/view_source/view_source *grin* Chris ___ Zope maillist -

Re: [Zope] Starting Zope

2000-07-29 Thread Cary O'Brien
Costagliola Giovanni wrote: Il gio, 27 lug 2000, Oleg Broytmann ha scritto: On Thu, 27 Jul 2000, Costagliola Giovanni wrote: How can I to start Zope whit a different user than root and cath the default HTTP port? Use different way - start Zope as root, catch port 80

Re: [Zope] Zope for secure transactions?

2000-07-29 Thread Cary O'Brien
1. Can Zope support SSL or https? AFAIK without support of some other tool not. If you have money ($12,000 us), but not programmers/time you can buy a box to do this from Intel. Plus it is very fast. http://www.intel.com/netstructure/products/accel_7110.htm (Not an Intel employee, but

Re: [Zope] Starting Zope

2000-07-29 Thread Bill Anderson
Cary O'Brien wrote: Well... If you are running on Linux you could simply edit the kernel code to elimitate the check on being root to bind to low ports. That's what we did. Which is an even worse idea. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have

[Zope] dtml-in syntax

2000-07-29 Thread Kyle Burnett
so i have this loop and i want to count a variable: dtml-in wherever dtml-if sequence-start dtml-var count-id /dtml-if /dtml-in but what i really want to count is specific values for id. so let's say id=='value1', i want to try and do the following: dtml-in wherever dtml-if

Re: [Zope] Zope for secure transactions?

2000-07-29 Thread Bill Anderson
Cary O'Brien wrote: 1. Can Zope support SSL or https? AFAIK without support of some other tool not. If you have money ($12,000 us), but not programmers/time you can buy a box to do this from Intel. Plus it is very fast. http://www.intel.com/netstructure/products/accel_7110.htm

Re: [Zope] What is the best method to enter more attributes about DTL Document?

2000-07-29 Thread Bill Anderson
Marcin Kasperski wrote: Short and probably obvious problem: what can I do to be asked for more properties while creating DTML Document (say I wanna be asked about description and keywords which I use in meta tags)? Short answer: Create a new ZClass-based product that contains the thigs you

[Zope] password

2000-07-29 Thread Jonathan Desp
Hi, the program zpasswd prompt. they said: If this program is called without command-line options, it will prompt for all necessary information. The available options are: -u / --username= Set the username to be used for the superuser -p / --password= Set the password

[Zope] Evaluate Zope for New App

2000-07-29 Thread G. Alan Tucker
Hi, I am in the process of evaluating the best architecture for a new Internet-based service that we are going to offer to the Japanese market. I would like to evaluate Zope, and I want your opinions on whether Zope as a solution is adequate, competitive, or the best one available. From my

Re: [Zope] Starting Zope

2000-07-29 Thread Nitesh Dhanjani
chown the var directory to the zope user. This is what I do with my setup. On Sat, 29 Jul 2000, Cary O'Brien wrote: Costagliola Giovanni wrote: Il gio, 27 lug 2000, Oleg Broytmann ha scritto: On Thu, 27 Jul 2000, Costagliola Giovanni wrote: How can I to start Zope whit

Re: [Zope] dtml-in syntax

2000-07-29 Thread Tim Cook
Kyle Burnett wrote: so i have this loop and i want to count a variable: dtml-in wherever dtml-if sequence-start dtml-var count-id /dtml-if /dtml-in but what i really want to count is specific values for id. so let's say id=='value1', i want to try and do the following:

RE: [Zope] What is the best method to enter more attributes about DTL Document?

2000-07-29 Thread Chris McDonough
There's not a particularly obvious solution other than to define a ZClass which inherits from DTML Document and exposes a constructor form that asks for these properties as well as an edit form that does same. See the ZClass tutorial on Zope.org at

[Zope] [FAQTS] ZOPE Knowledge Base Update -- July 30th, 2000

2000-07-29 Thread Fiona Czuczman
Hi Guys, The latest entries to be entered into http://zope.faqts.com regards, Fiona Czuczman Including: - Benchmarking between Zope and Tomcat - How can I get the Zope tutorial to work? - Is there an easy way to simulate the functionality of a while loop in DTML? - What is the best method

Re: [Zope] Starting Zope

2000-07-29 Thread Bill Anderson
Nitesh Dhanjani wrote: chown the var directory to the zope user. This is what I do with my setup. That will not let you bind to ports 1024. -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password.

Re: [Zope] Starting Zope

2000-07-29 Thread Nitesh Dhanjani
yes, but it would solve the permission problem the original poster mentioned. On Sat, 29 Jul 2000, Bill Anderson wrote: Nitesh Dhanjani wrote: chown the var directory to the zope user. This is what I do with my setup. That will not let you bind to ports 1024. -- Do not

Re: [Zope] Using Zope and Worldpilot on a large site

2000-07-29 Thread Bill Anderson
Paolo Bizzarri wrote: Hi Zopers, we would like to use Zope for an ISP, with more than 400.000 customers. Zope would be used with Worldpilot, in order to provide Webmail, Calendar, to do, etc. THis demonstrates a problem or two with Worldpilot. I would defintiely _not_ use worldpilot in