[Zope-dev] Register user/login

2000-12-09 Thread Gajendra Ratnavel
Is there any way to have a user login (similar to portal/login manager) but hook it in to the root acl_user list? I tried to decipher it from the above mentioned products but I can't seem to do it. As for using the above products, they are way more complicated for my use. I just need

Re: [Zope] newbie question -- database list/report with sort bycolumn header

2000-12-09 Thread Tino Wildenhain
Hi, Chris Gray schrieb: Here's a fragment from a table that allows sorting by clicking the header in a dtml method named 'displayTable': table tr tha href="displayTable?sort_key=ID+desc"ID/a/th tha href="displayTable?sort_key=product"Product/a /tr dtml-in

Re: [Zope] SECURITY alert and hotfix release

2000-12-09 Thread Andrew Kuchling
On Fri, Dec 08, 2000 at 05:40:13PM -0500, Shane Hathaway wrote: AFAICT 2.1.6 is not vulnerable. Verifying this on our server, this turns out to be quite correct; Zope 2.1.6 does not demonstrate the problem repaired by the hotfix. --amk ___ Zope

Re: [Zope] persistence and dictionaries

2000-12-09 Thread Tres Seaver
Matt [EMAIL PROTECTED] wrote: Chris, this was my original confusion the two places below where you say "You can put instances which do not inherit from Persistence.Persistent in your database. They just won't "stick". They'll hang around until the server is restarted or for an

[Zope] customize zope manage_main

2000-12-09 Thread richard lanham
I have looked at many of files in lib/python/app and a other folders in the zope installation. I am looking for a way to change the interface a little. I see some recognizable stuff there, but can't figure out how most of the pages are created, how I could change them. I want to add a frame

[Zope] quick python book - question about the feedback form example

2000-12-09 Thread Lee
Hi, Finally got my hands on The Quick Python book and have read the first 13 chapters. I've now jumped to chapter 26, "Using Zope", to try out some of the examples there. I'm havng a problem with the feedback form example (p326) and I'd be really grateful if someone could point out what I am

Re: [Zope] quick python book - question about the feedback form example

2000-12-09 Thread Jason Cunliffe
Lee I'm no expert, but I thought all Python Scripts [Methods] in Zope need to include 'self' as the first argument. Thus you should try instead """feedback.py: A simple feedback form application""" def save_feedback(self, feedback_type, comments): etc.. among others do check out the ZDP

[Zope] Using Analog and Zope Zserver

2000-12-09 Thread Scott
Hi All, I'm using analog to analyze my server logs, however I can't figure out how to tell analog to treat everything without an extension as a page. Or perhaps more accurately everything without a "." in it's name. I have read numerous posts to this list regarding index_html or *_html, but

Re: [Zope] ZPublisher and func(self,*args,**kw)

2000-12-09 Thread Michel Pelletier
On Sat, 9 Dec 2000, Andreas Jung wrote: Inside a product I tried to replace the following function def myfunc(self,arg1='',arg2='',REQUEST=None): by def myfunc(self,*args,**kw): to get a more generic interface. However in every case "args" and "kw" are empty when I output

[Zope] HTTP status code 302

2000-12-09 Thread Hung Jung Lu
I can view certain document on a Zope site over the web if I use a brower. But for fun I tried to download it by using Python's httplib, and for some Zope sitesgot a status code 302. This probably means I need to use another URL address. The web browser does this automatically so I don't

Re: [Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-09 Thread Dieter Maurer
Luke Tymowski writes: like so in my z2.py? it didn't do anything. But I can get a python core dump! If you get a core dump, then use a debugger to look into it. This can give you valuable glues wrt the cause of the problem. Dieter ___ Zope

Re: [Zope] persistence and dictionaries

2000-12-09 Thread Matt
This makes sense with some of my experimentation. So I am correct to assume now that any member classes that I include into my Product that don't themselves derive from Persistence.Persistent will become pickled into my products pickle, and will do whenever __setattr__ method of my product is

[Zope] ZClass with images

2000-12-09 Thread Diego Rodrigo Neufert
Anyone know how to put some images in ZClass? I have done things like putting ZClass with base class OFS:Image but with it I can only assing one Image do the object... I need to assign two or tree images do the object. Thanks... -- Diego Rodrigo Neufert Webmaster / Web Developer - Magic

[Zope] zcatalog, zclass instances

2000-12-09 Thread josh on
Hello, I am building a small community site. I am building the login/signup system. I have a problem with the creation of new users on signup. I have a users zclass which is catalog aware. I used the job board tutorial to set it up (thanks! very useful documentation) When I a user signs up I