[Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread tav
::: on a standard page served by zope, user enters pagename into a field and presses submit form method=GET action=createwikipage input type="text" name="pagename" input type="submit" name="submit" value="Submit" /form ::: createwikipage is a dtml method to which

[Zope] Moving site from dev to prod.

2000-07-28 Thread Jeff Nielsen
I can't quite seem to figure out how to move my web site from my development machine to my production machine with Zope v2.1.x. Under Zope v1.0.9, I simply copy the data.bbb file. Under Zope v2.1.x, this file seems to be data.fs, but copying it doesn't seem to work as I get a NameError on

[Zope] hypothetically simple Login Manager Question

2000-07-28 Thread Bill Anderson
OK, I am working on a rather large scope site. In this site, I will have the need to create Objects (called Clubs). These Clubs will need their own membership setup, but stil be authenticate against the overall site. I have considered a few ways of doing this... to wit: A. A Membership folder

Re: [Zope] zzLocale 0-0-3a released on Zope Japan

2000-07-28 Thread Yves-Eric Martin
On Thu, 27 Jul 2000 12:30:41 +0200 "Johan Carlsson" [EMAIL PROTECTED] wrote: I have another feature that would be nice for the zzLocale framework. Support for localized images. As far as I know the Zope Management Interface doesn't use any images containing strings, but I know that I might

[Zope] New Zope Book

2000-07-28 Thread Sven Hohage
Hi, when do you think there will be the first part of the O'Reilly-book be online?? I thought in August there should be partly online. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread Chris Withers
Hi tav, Try changing all your _[pagename] to _.getitem(pagename,0), especially when you're getting errors about strings not having attributes. _[pagename] will call the object's __call__ method, if it has one and return the result, rather then the actual object. Which can be more than a little

Re: [Zope] Zboard 0.2.3 released

2000-07-28 Thread Holger Lehmann
I do not really get it: Zboard (as of 0.2.4) is not a product (that sucks). After importing it into /somewhere and trying to view it I get a authentification failure (oops), though I am superuser ... when checking it out it tells me: -- You are not authorized to access Clist.

[Zope] Searching static copy

2000-07-28 Thread Andy Gates
My current Zope site has most of its copy taken from databases. But it also has a number of static pages. I need an all-in-one search that will go through all of the content. Most of this is easy: search through the three databases in turn and present their results. But how do I search

[Zope] form to a email in a correct presentation ?

2000-07-28 Thread Vincent Maton
Hello everybody, I have a problem, can you tell me if it's possible : I send a form to an e-mail but I receive it brut, and I would like to receive it in a good presentation, you can see that I receive on the attachments with this email on name it "bad_reception" and see what I want on name it

Re: [Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread tav
Chris Withers wrote: Try changing all your _[pagename] to _.getitem(pagename,0), especially when you're getting errors about strings not having attributes. Chris, you are a star! I made the whole of the site in two days, but wasnt able to work out this particular problem for over another

Re: [Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread Phil Harris
tav, try manage_changeProperties(page_owner=AUTHENTICATED_USER.getUserName()) - Original Message - From: "tav" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 28, 2000 12:14 PM Subject: Re: [Zope] anyone skilled in the ways of changing page properties? Chris Withers

[Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 - compile/install ..

2000-07-28 Thread Jørgen Skogstad
Kindest .. I am having certain problems with the installment of the product. I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to install and compile just fine with no errors reported. .. and I have manually checked that "import _mysql" works in python .. so it has mysql support.

Re: [Zope] Searching static copy

2000-07-28 Thread Chris Withers
Andy Gates wrote: Most of this is easy: search through the three databases in turn and present their results. But how do I search through the contect of DTML pages and methods? Add a ZCatalog to the root folder of your site and use it's 'find' tab to catalog all the relevent objects. You can

Re: [Zope] form to a email in a correct presentation ?

2000-07-28 Thread Chris Withers
Vincent Maton wrote: I send a form to an e-mail but I receive it brut, and I would like to receive it in a good presentation, you can see that I receive on the attachments with this email on name it "bad_reception" and see what I want on name it "good_reception". Hmm, can you send the DTML

[Zope] search on www.zope.org

2000-07-28 Thread Andy Pahne
Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term. Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640

Re: [Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread tav
tav, try manage_changeProperties(page_owner=AUTHENTICATED_USER.getUserName()) Phil, cheers, that works =) though, the strangest thing is that i had tried that and had gotten attribute errors, which i thought was arising due to the lack of ' ' around it... hmz, strange, but it works now...

Re: [Zope] search on www.zope.org

2000-07-28 Thread Chris Withers
Andy Pahne wrote: Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 IIRC, The splitter on Zope.org treats punctuation as stop characters, that includes . - and _ So searches like yours, or for dtml-in, etc will return nothing. However,

Re: [Zope] search on www.zope.org

2000-07-28 Thread Peter Arvidsson
Well the fact is the searchengine on zope.org really s*cks. They really should do something about it... Peter Andy Pahne skrev: Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term.

Re: [Zope] Snapshots and Demo of Products

2000-07-28 Thread Andrew Kenneth Milton
+[ Peter Bengtsson ]- | | This is especially important for the Zope product itself. I have noticed | that the first thing I do when I browse zope competitors homesites, is to | look at screenshots. Screenshots of the website you're currently

[Zope] Displaying Lines? was: form to a email in a correct presentation ?

2000-07-28 Thread Tim Cook
Vincent Maton wrote: I send a form to an e-mail but I receive it brut, and I would like to receive it in a good presentation, you can see that I receive on the attachments with this email on name it "bad_reception" and see what I want on name it "good_reception". I wish I could help. But

[Zope] migration from 2.1.6 - 2.2.0 breaks ZClass

2000-07-28 Thread Ramalingam, Padmanaba [Padhu] [VIS-Non JJ]
Hi, I have migrated from 2.1.6 to 2.2.0 by copying Data.fs. Everything works except when I try to create a new ZClass, I get "Could not load oid" error. Any help how to fix it is appreciated. Thanks, Padhu Traceback (innermost last): File E:\2gtzope\lib\python\ZPublisher\Publish.py,

[Zope] security model

2000-07-28 Thread Olivier Tanguy
authentification request bug and fail when running an sql method through an external method (python 1.5.42+) in a dtml-tree tag zope(2.2dev) asks me to login again, what i do without success. Indeed, all separate components work fine. Any idea ? Thanks

[Zope] Zope + _mysql + mysql database adapter ..

2000-07-28 Thread Jørgen Skogstad
Kindest.. I've compiled the "ZMySQLDA-1.2.0.tar.gz" for Zope v2.2 and mysql with success. No errors occur exept after I restart Zope. I have two python instances on my machine .. one in the Zope dir (bundled with Zope) .. and the ordinary in /usr/local/bin/python .. the Zope python instance

[Zope] Zcounter permission problems

2000-07-28 Thread Peter Bengtsson
I use the - http://www.zope.org/Members/srichter/Products/ZCounter - ZCounter product on my Zope site. I create a Zcounter easily and I call i mycounter for example. I then call for it like this dtml-call "mycounter.count_user(REQUEST)" (as taken from the above URL) When I open a new browser

Re: [Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 - compile/install ..

2000-07-28 Thread Christian Scholz
Hi! Kindest .. I am having certain problems with the installment of the product. I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to install and compile just fine with no errors reported. Try to use the most recent packages to be found at: http://www.dustman.net/andy/python

Re: [Zope] Reg. ZMySQLDA/MySQLdb-0.1.2 - compile/install ..

2000-07-28 Thread Jørgen Skogstad
I am having certain problems with the installment of the product. I dl'ed tyhe v1.2.0 that was recently put out.. and all seems to install and compile just fine with no errors reported. Try to use the most recent packages to be found at: http://www.dustman.net/andy/python Don't use any

[Zope] email with HTML inside with ZOPE

2000-07-28 Thread Vincent
Hi, I would like to know if it is possible to send an email with HTML code in the mail using zope ? Vincent

[Zope] Displayed Dates out by 1 day ...

2000-07-28 Thread Jonathan Cheyne
I have a zclass containing a date field - when displayed with dtml-var event_date, if the field value is 2000/09/19 then it is displayed as 2000/09/18. I have to use dtml-var "event_date + 1" but this seems surreal. What am I doing wrong? puzzled Jonathan

[Zope] Re: migration from 2.1.6 - 2.2.0 breaks ZClass

2000-07-28 Thread Jonathan Cheyne
I have migrated from 2.1.6 to 2.2.0 by copying Data.fs. Everything works except when I try to create a new ZClass, I get "Could not load oid" error. Any help how to fix it is appreciated. Just checking - but did you also reinstall (from the original tgz's) all of the products you make have

Re: [Zope] Displayed Dates out by 1 day ...

2000-07-28 Thread Chris Withers
Jonathan Cheyne wrote: I have a zclass containing a date field - when displayed with dtml-var event_date, if the field value is 2000/09/19 then it is displayed as 2000/09/18. I have to use dtml-var "event_date + 1" but this seems surreal. There have been bugs (okay, unexpected functionality

Re: [Zope] Znolk - Not recognizing ODBC

2000-07-28 Thread Philipp Auersperg
I just checked Znolk and ODBC - it works correctly (I checked that with Win 2k, NT4 on different machines with Zopes = 2.1.4, Oracle and MSSQL ODBC drivers ) check the following: - Have you verified that you have a valid ZODBC database connection in the scope of your actual folder ( you

Re: [Zope] Displayed Dates out by 1 day ...

2000-07-28 Thread Jonathan Cheyne
2.2.0 final, london, uk. And yes, I make use of fmt in order to rearrange the dates the brit way. I just checked and that seems to be the prob. If I display the yank way then all is ok. ah weel the work around is fairly easy for now. Chris Withers wrote: Jonathan Cheyne wrote: I have a

Re: [Zope] Moving site from dev to prod.

2000-07-28 Thread Loren Stafford
In the "utilities" directory there is a program that converts from bbb to fs. Sorry, I don't remember which one or how it works, but this should point you in the right direction. -- Loren - Original Message - From: "Jeff Nielsen" [EMAIL PROTECTED] To: "Zope" [EMAIL PROTECTED] Sent: July

Re: [Zope] Displayed Dates out by 1 day ...

2000-07-28 Thread Chris Withers
Jonathan Cheyne wrote: 2.2.0 final, london, uk. And yes, I make use of fmt in order to rearrange the dates the brit way. I just checked and that seems to be the prob. If I display the yank way then all is ok. ah weel the work around is fairly easy for now. I'm pretty sure this'll be fixed in

Re: [Zope] search on www.zope.org

2000-07-28 Thread Loren Stafford
Don't overlook the Google Search on http://www.zope.org/SiteIndex/searchForm. It works nicely. Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term.

RE: [Zope] email with HTML inside with ZOPE

2000-07-28 Thread Steve Drees
I would like to know if it is possible to send an email with HTML code in the mail using zope ? yes. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] In fact, it was HOW can I write an email with HTML inside... ;-)

2000-07-28 Thread Vincent
Thanks

[Zope] README.txt Tab

2000-07-28 Thread Robert_J_Roberts
How do I get the README tab to appear in a product? I created a product and it is working great. However, I would like to add the 'README' tab to the product (and if possible to each instance of the product). I looked at other products that have the README tab and looked at the Product.py

Re: [Zope] Batchprocessing with multiple conditions?

2000-07-28 Thread R. David Murray
On Tue, 25 Jul 2000, Peter Arvidsson wrote: I have objects of a certain meta-type. They have some properties and one of the properties is a boolean. How do I make a dtml-in loop among those objects with the boolean set to yes? I dont want it to traverse any other value at all only those that

RE: [Zope] email with HTML inside with ZOPE

2000-07-28 Thread Svante Kleist
But don't post HTML to this mailing list, please I would like to know if it is possible to send an email with HTML code in the mail using zope ? yes. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] Full path var on Zope.org login link (Ethan!)?

2000-07-28 Thread ethan mindlace fremen
"J. Atwood" wrote: What DTML-VAR do they use on Zope.org to populate the came_from variable for the 'login' link? http://www.zope.org/standard_html_header/view_source dtml-URL0; :-) -- ethan mindlace fremen Zopatista Community Liason Abnegate I!

Re: [Zope] Netscape Open session with NT active user

2000-07-28 Thread Bill Anderson
Vincent wrote: Hi, In fact, it is not just a question about Zope, it is a question about Netscape : When you protect a directory and ask for a password, I would like to know if Netscape is able to access to the parameters of the loged user (under NT). PS : In fact, I would like that

Re: [Zope] demo Zboard 0.2.4

2000-07-28 Thread Graham Chiu
In article [EMAIL PROTECTED], rainlood [EMAIL PROTECTED] writes Hello. Zboard run on my server http://gnome.wdb.co.kr:8080/ Not found. something problem on filename.. You can get Zboard 0.2.4 http://www.zope.org/Members/rainlood/Zboard/ Your source code makes 5 references to a 'Clist' but

Re: [Zope] In fact, it was HOW can I write an email with HTML inside... ;-)

2000-07-28 Thread ethan mindlace fremen
dtml-sendmail mailhost="MailHost" To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: HTML in Email HTML HEADTITLESending HTML to the list/TOPIC/HEAD BODY pplease don't send HTML formatted mail to the list! p(I know, I'm being a hypocrite) /BODY /HTML /dtml-sendmail Also see the sendmail

[Zope] Session

2000-07-28 Thread Diego Rodrigo Neufert
Hi, walking trought zope.org I found a lot o Session Managers products like HappySession and SQLSession. Anyone know what's the best Session product for a production site??? thanks... -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design)

[Zope] Re: Zope.org feedback

2000-07-28 Thread Jim Sanford
We have no http access to our site. It is a corporate Client Relationship Management, Job Tracking and Order Processing, Production and Tracking system that is accessed from all over the world. I will send this to the list to see if any one else can provide help. - Original Message -

[Zope] (no subject)

2000-07-28 Thread Dieter Maurer
Subject: Potential tree bug (was: Re: [Zope] dtml-tree question) In-Reply-To: [EMAIL PROTECTED] X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Jonothan Farr writes: What is the difference between

[Zope] Re: Displaying Lines? was: form to a email in a correct

2000-07-28 Thread Steve Alexander
Tim Cook wrote: Other than iterating through the property is there a way to display or present the lines property for edit without the containing ['brackets', '', 'ticks']? s Something like this: dtml-var "_.string.join(lines_property, 'br')" or this: dtml-var

[Zope] counter

2000-07-28 Thread Ursula Vitt
I downloaded the Zcounter from Zope into our system and it seems to "reset" the counting number and start at one again after a certain amount of time. I have no idea why. Can anybody help? Also, we are looking for a more sophisticated counter, with already integrated graphics etc. Does anybody

Re: [Zope] Session

2000-07-28 Thread Christian Scholz
Hi! On Fri, Jul 28, 2000 at 05:34:52PM -0300, Diego Rodrigo Neufert wrote: Hi, walking trought zope.org I found a lot o Session Managers products like HappySession and SQLSession. Anyone know what's the best Session product for a production site??? I am using SQLSession here and haven't had

Re: [Zope] HELP

2000-07-28 Thread Christian Scholz
Hi On Fri, Jul 28, 2000 at 05:08:59PM +0100, Chris Withers wrote: Norman Khine wrote: I have just installed the Zope Server on my NT and have gone through the tutorial about building the Job_Board. All works OK, but I am at a bit of a loss as to HOW I can make the SEARCH open. So that if

[Zope] Can multiple processes access a ZODB3 file?

2000-07-28 Thread Ross Boylan
If I have Zope running, using ZODB3 on Data.fs, can a separate process also use ZODB3 to access Data.fs? I have my suspicions, but I'm not sure. I'm interested in this because I'm in the middle of a balloting period. People email me their ballots. I will need to check them for validity,

Re: [Zope] Can multiple processes access a ZODB3 file?

2000-07-28 Thread Bill Anderson
Ross Boylan wrote: If I have Zope running, using ZODB3 on Data.fs, can a separate process also use ZODB3 to access Data.fs? I have my suspicions, but I'm not sure. I'm interested in this because I'm in the middle of a balloting period. People email me their ballots. I will need to

[Zope] Zope for secure transactions?

2000-07-28 Thread Rajil Saraswat
hi everyone, i am looking out for the feasibility of developing a ecom portal over zope. regarding this i have a few queries. 1. Can Zope support SSL or https? 2. Is there some way in Zope through which i can use secure transactions. 3. If Zope can run which Apache , can SSL be used? Thanks

[Zope] 2.2.0, LoginManager and ZPatterns

2000-07-28 Thread Aleksander Salwa
Hmm..., so I've decided to upgrade to Zope 2.2.0. Most of my site works fine :) I used GUF lately, now I want to use LoginManager, but I can't get it working. Even on fresh install of Zope 2.2.0 (Linux x86, binary release of Zope), when I want to create an instance of Login Manager with

Re: [Zope] 2.2.0, LoginManager and ZPatterns

2000-07-28 Thread Aleksander Salwa
On Sat, 29 Jul 2000, Aleksander Salwa wrote: I used GUF lately, now I want to use LoginManager, but I can't get it working. Even on fresh install of Zope 2.2.0 (Linux x86, binary release of Zope), when I want to create an instance of Login Manager with default settings in folder

RE: [Zope] Can multiple processes access a ZODB3 file?

2000-07-28 Thread Chris McDonough
The ZODB is generally process-locked. It's not possible, to my knowledge, to access it from different python processes simultaneously. To solve this, I'd highly encourage you to use ZEO, despite your desire not to use it. There's very little to learn with ZEO, and its proven very stable over

Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products

2000-07-28 Thread Chris Withers
Steve Alexander wrote: "Phillip J. Eby" wrote: So, I am thinking perhaps I should split ZPatterns into two products: PlugIns and DataSkins. If 'PlugIns' includes plugins, plugin groups and plugin containers, then that's a pretty good name :-) (If I've missed bits out and the like, please

[Zope-dev] patches to make ZServer's http_request subclassable

2000-07-28 Thread Brian Takashi Hooper
Hi all - I made a couple of patches to ZServer (medusa, actually) to make medusa'a http_request objects subclassable... the motivation is to make customizing medusa / ZServer's logging easier to do just overriding http_request's log() method in a subclass. Patches are attached to this message,

Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products

2000-07-28 Thread Steve Alexander
Chris Withers wrote: 'DataSkins' doesn't mean a lot to me as a name :S What components would go into this product? An object that has DataSkin as a base class allows a DataManager to look after its data storage requirements. The DataManager stores all the propertysheets and attributes, and

Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products

2000-07-28 Thread Phillip J. Eby
At 09:51 AM 7/28/00 +0100, Chris Withers wrote: Steve Alexander wrote: "Phillip J. Eby" wrote: So, I am thinking perhaps I should split ZPatterns into two products: PlugIns and DataSkins. If 'PlugIns' includes plugins, plugin groups and plugin containers, then that's a pretty good name

Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatternsinto two products

2000-07-28 Thread Chris Withers
"Phillip J. Eby" wrote: DataSkins themselves, Okay, I'm being dumb again, but could someone explain to me how the name DataSkin came about and how it relates to what these objects do? :S That might be, but the PlugIns part isn't really where it should be before it could even be proposed to

RE: [Zope-dev] Stuff hanging off user not in cookies

2000-07-28 Thread R. David Murray
On Tue, 25 Jul 2000, Brian Lloyd wrote: I'm thinking of the dimensions/etc of the edit boxes and the like. I do a lot of work through virtual domains and it's a real pain having to resize that edit box every time I log in through a different domain or on a different computer... Have

Re: [Zope-dev] Re: [Zope-PTK] PROPOSAL: Splitting ZPatterns into two products

2000-07-28 Thread Chris Withers
Steve Alexander wrote: An object that has DataSkin as a base class allows a DataManager to look after its data storage requirements. The DataManager stores all the propertysheets and attributes, and works out what to do and who to notify when things change. Okay, makes sense... There are

Re: [Zope-dev] PROPOSAL: Splitting ZPatterns into two products

2000-07-28 Thread Phillip J. Eby
At 10:22 PM 7/28/00 +0100, Chris Withers wrote: Steve Alexander wrote: There are various types of DataManager in ZPatterns, and the important ones take plug-ins so that you can greatly modify their behaviour. I thought there were only two right now? Technically, there are three - Specialist,

[Zope-dev] New Client.py bug(?) in 2.2.0 affects ZScheduler

2000-07-28 Thread Loren Stafford
In Zope version 2.2.0b3 Client.py calls connect in httplib (in two different places) like this: sock.connect(self.host,self.port) In Zope version 2.2.0 (final) it's like this: sock.connect((self.host,self.port)) In the latter case, Python complains:

[Zope-dev] [Re: [Zope-dev] ZPatterns Documentation]

2000-07-28 Thread Chris Withers
"Phillip J. Eby" wrote: Despite the implications of the bait-and-switch subject line, I have not yet written any substantial amounts of documentation. I have, however, written this: http://www.zope.org/Members/pje/Wikis/ZPatterns/DataSkinsOverview Which was actually exceptionally useful,

Re: [Zope-dev] New Client.py bug(?) in 2.2.0 affects ZScheduler

2000-07-28 Thread Chris Withers
Loren Stafford wrote: Does anyone know what was the motivation for the change in the syntax for the call to connect? To make it Python 2 compatible, but this shouldn't cause these errors since connect is supposed to be able to takea tuple now. Confusedly, Chris

Re: [Zope-dev] [Re: [Zope-dev] ZPatterns Documentation]

2000-07-28 Thread Bill Anderson
Chris Withers wrote: I can't help thinking that a _really_ simple example that _only just_ uses the available features would help to make it real for people like me... Well, I have made a 'News Article' toy from ZPatterns, more so to get a feel for the mechanics than for any 'advantage'

[Zope-dev] Client.py prevents ZScheduler with SSL? (was: Zope.org feedback)

2000-07-28 Thread Loren Stafford
Moving this to zope-dev and changing title... From: "Jim Sanford" [EMAIL PROTECTED] We have no http access to our site. It is a corporate Client Relationship Management, Job Tracking and Order Processing, Production and Tracking system that is accessed from all over the world. I will

[Zope-dev] Membership 0.6.1 available

2000-07-28 Thread Bill Anderson
OK, I have an updated Membership product avalable at http://www.zope.org/Members/Bill/Products/Membership Basically, it fixes the keyword parameter problem, and I've started adding the hooks to eventuall plant a user management interface onto. I just need one crucial piece of the puzzle ... I