[Zope] LoginManager / Membership: WTFM (Where's the...)

2000-07-31 Thread Danny William Adair
Hi all! I've successfully installed current releases of ZPatterns, LoginManager and "Membership". This Membership product comes up with some nice high level methods / forms for the common procedures, but still doesn't help me with my basic LoginManager question: How do I add users? I can see

[Zope] LoginManager UserSources

2000-08-02 Thread Danny William Adair
What UserSources are available as of today for the LoginManager to use? How do they work? TIA Danny ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] zzLocale problems

2000-08-31 Thread Danny William Adair
After installing zzLocale I get an "AttributeError" every time I try to add a ZGadfly Connection: -- Traceback (innermost last): File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in publish_module File

[Zope] Repost: zzLocale problems

2000-09-04 Thread Danny William Adair
After installing zzLocale I get an "AttributeError" every time I try to add a ZGadfly Connection: -- Traceback (innermost last): File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in publish_module File

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Danny William Adair
Hi all! Now Nils and Oleg are giving me the creeps. Is it not possible to take a few GPLed Zope products, add your own effort of configuring, integrating, building, (re-)designing, and even documenting the outcome of your efforts and - ___sell___ this? Maybe not only to _one_ customer, but burn

Re: [Zope] zope login window: how to change the 'Zope' realm/resource??

2000-09-12 Thread Danny William Adair
Hi Gilles! Doesn't the "realm tip" apply anymore? --- Use Z_REALM env. var to set your HTTP mcdonc brings us this tip: Set the environment variable "Z_REALM" to change the HTTP "authentication realm" in which your Zope server

Re: [Zope] Using GUF (generic user folder) under 2.2.x?

2000-09-16 Thread Danny William Adair
Hi! I've experienced the same problem with GUF (which is why I am desperately waiting for the LoginManager HOWTO). Everything looks fine first, but the login screen will keep reappearing. Which part of the walkthrough could be out of date, the password? ;-) Maybe you could say a word or two

[Zope] standard_error_message confusion

2000-09-18 Thread Danny William Adair
Hi all! I'm using LoginManager to provide for a non-HTTP authentication. A role "Member" has access to a folder "Restricted", the role "Anonymous" doesn't have any rights at all in this folder. All objects in this folder acquire these security settings. So far, so good. The login form from the

Re: [Zope] standard_error_message confusion

2000-09-22 Thread Danny William Adair
t- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Steve Alexander Gesendet: Dienstag, 19. September 2000 13:03 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: [Zope] standard_error_message confusion Danny William Adair wrote: Hi all! I'm using LoginManager

[Zope] Redirect FTP access on a role basis

2000-09-25 Thread Danny William Adair
Is it possible to redirect FTP access to subfolders depending on user's role? If yes, how can I do that? I would like to have ftp://www.mysite.com connect to the graphics folder "/gfx", if an account with a "Designer role" connects to the server in order to upload/exchange graphics. His account

[Zope] Uploading images my way

2000-09-29 Thread Danny William Adair
Hi all! How can I upload/change an image in my zodb using custom forms. A call to "manage_upload" seems to always take me to a feedback form saying "Your changes have been saved.". How can I upload using customized forms _only_? tia Danny ___ Zope

[Zope] Access problems

2000-10-02 Thread Danny William Adair
What has happened? Whatever resource I'm trying to access (including the management IF), I get this (running a 2.2.1 Zope on Unix) --- Attribute Error --- Traceback (innermost last): File /home/sites/site3/users/.../2-2-1/lib/python/ZPublisher/Publish.py, line 222, in

[Zope] Access problems

2000-10-03 Thread Danny William Adair
Hi all! I have a serious and extremely urgent problem concerning my zope installation (2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --- Attribute Error --- Traceback (innermost last): File

Re: [Zope] Access problems

2000-10-04 Thread Danny William Adair
(Actually, this beta ZPatterns is fine). Thanks, Prost, Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Dieter Maurer Gesendet: Dienstag, 3. Oktober 2000 22:57 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: [Zope] Access problems

[Zope] Re: [Zope-dev] DynPersist.so from ZPatterns 0-4-2a3

2000-10-04 Thread Danny William Adair
You can build one yourself on that server. Thanks, I've built one. :-) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Displaying zope content on other websites using XML

2000-10-09 Thread Danny William Adair
Hi "[EMAIL PROTECTED]"! Have you taken a look at a) Amos Latteier's "RSS Channel" product: http://www.zope.org/Members/Amos/RSSChannel.tgz (and his article on xml.com http://www.xml.com/pub/2000/02/23/zope/index.html) (the product is based on Amos's "XMLDocument product":

[Zope] Calling objects by name

2000-10-24 Thread Danny William Adair
How can I render an object in DTML if I have its id as a string? I would like to construct its name as a string and then call the object variable by its name. (Meaning I will have to make sure such an object exists) tia, CU+Prost, Danny ___ Zope

Re: [Zope] TinyTablePlus: Problems with quotation marks

2000-10-25 Thread Danny William Adair
worked like a charm, thank you very much! Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. Oktober 2000 20:24 An: Danny William Adair; [EMAIL PROTECTED] Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks You have

Re: [Zope] Calling form elements by name

2000-10-25 Thread Danny William Adair
Betreff: RE: [Zope] Calling form elements by name dtml-let "nameAsAString = 'index_html'" dtml-var "_[nameAsAString]" /dtml-let -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Danny William Adair Sent: Wednesday, October 25, 20

Re: [Zope] Calling form elements by name

2000-10-26 Thread Danny William Adair
I should have posted your version, it's more explicit: --- dtml-in Items sort=Position dtml-let Prefix="'FormElement_'" thePos="_.str(Position)" nameAsAString="Prefix+thePos" dtml-var nameAsAStringbr dtml-var

[Zope] ownership problems

2000-10-27 Thread Danny William Adair
I have created an account with Manager role and tried to add a LocalFS (v0.9.6) object to the root folder. I have set all possible rights for the Manager role. Zope version: Zope 2.2.1 (source release,

[Zope] Change rendering of a folder

2000-10-31 Thread Danny William Adair
Hi, I would like to subclass the folder class and change the way it gets rendered. How would no how will I do that? Usually, a folder object looks if it contains a index_html and calls(renders) it if so. I would like to change this behavior and call a method of my own when the object gets

[Zope] Sorry, resolved

2000-10-31 Thread Danny William Adair
Just had to add an "index_html" to the ZClass, now it works. So it looks as if "looking for index_html" starts at the ZClass itself. thanks for listening anyway ;-) Danny -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von

[Zope] How do I create an object instance with DTML?

2000-11-02 Thread Danny William Adair
Hi yall, I want to cover Zope's management screens from the (managing) user, and only take parts of its functionality and change its design so that there is a folder in which the user has simple cs functionality and won't be overdosed with options. In this folder now, I would like to create an

[Zope] SiteAccess2: How do I suppress all when managing?

2000-11-07 Thread Danny William Adair
How can I suppress the URL generation in the management screens? I've seen the "Z" folder example but it didn't work for me. Everything is fine except the management interface. tia, CU+Prost, .oO( "Du könntest mal einen bauen" ) Danny ___

Re: [Zope] images in directories

2000-11-11 Thread Danny William Adair
I have a similar situation where I find myself way down in the tree structure and have to go up to a certain point and down again. Leaving "bad structuring" aside (actually its well structured in many other respects), all I could think of to get a hold of these objects was a whole bunch of nested

[Zope] LoginManager / Membership / ZODB as UserSource

2000-11-24 Thread Danny William Adair
Has somebody been able to setup this combination as for today? I guess this is an easy one for the LM experienced... I am looking for a completely ZODB based solution concerning membership, no rdbms. tia, CU+Prost, .oO( "Du könntest mal einen bauen" ) Danny

[Zope] CURRENT MEMBERSHIP PRODUCT IS COOL -- was: [Zope] LoginManager / Membership / ZODB as UserSource

2000-11-26 Thread Danny William Adair
/ ZODB as UserSource Danny William Adair wrote: Has somebody been able to setup this combination as for today? I guess this is an easy one for the LM experienced... I am looking for a completely ZODB based solution concerning membership, no rdbms. It it still beta, but there is a membership

Re: [Zope] CURRENT MEMBERSHIP PRODUCT IS COOL -- was: [Zope] LoginManager / Membership / ZODB as UserSource

2000-11-27 Thread Danny William Adair
how to use Zpatterns and LoginManager to build a hook to rdbms for Membership? I've read the Howto for hook up LoginManager with MySql, and tried it on Membership, but that trick didn't work. Look forward to your advice! cheers Dirksen --- Danny William Adair [EMAIL PROTECTED] wrote: Hello Bill,

[Zope] Re: [Zope-dev] Security Permissions

2000-11-27 Thread Danny William Adair
Hi Andre, I think these rights are the result of a broken GDChart product. Make sure the class registration in the initialization part says permissions = 'Add ZGDCharts' (see how you have all the characters as separate rights...) But as far as I know this has been discovered right after the

[Zope-dev] Access problems

2000-10-03 Thread Danny William Adair
Hi all! I have a serious and extremely urgent problem concerning my zope installation(2.2.1 on Unix): Whatever resource I'm trying to access, I get the following --- Attribute Error --- Traceback (innermost last): File

[Zope-dev] DynPersist.so from ZPatterns 0-4-2a3

2000-10-03 Thread Danny William Adair
Hi all! I'm desperately looking for the DynPersist shared library (new for ZPatterns 0-4-2a3) in compiled form. Can someone help me (send it to me)? I'm running a Zope instance at NIP (www.nipltd.net), that's 2.2.1 on Unix platform. tia, Prost, Danny

[Zope-dev] Re: Thanks a lot, but...

2000-10-03 Thread Danny William Adair
from ZPatterns 0-4-2a3 Danny William Adair wrote: I'm desperately looking for the DynPersist shared library (new for ZPatterns 0-4-2a3) in compiled form. Can someone help me (send it to me)? I'm running a Zope instance at NIP (www.nipltd.net), that's 2.2.1 on Unix platform. Here ya go

Re: [Zope-dev] zope on win95

2001-01-06 Thread Danny William Adair
http://www.zope.org/Products/Zope/2.2.4/Zope-2.2.4-win32-x86.exe 2.2.4 is the current stable release. Concerning the "execution" of DTML "files", "The Zope Book" might be a good starting point for reading some documentation: http://www.zope.org/Members/michel/ZB hth, Danny P.S.: Please

[Zope-dev] PATH_INFO reliable?

2001-03-18 Thread Danny William Adair
I want to strip off the SERVER_URL of an absolute url (which I have as a string) without doing string manipulations. Is there some built-in function to do this? So what I'm looking for is actual the reverse of absolute_url. The request variable PATH_INFO looks very good, but I don't know whether

[Zope-dev] Objects, Roles and Permissions

2001-04-09 Thread Danny William Adair
Hello warriors, what's the fastest way to find out whether a specific role has a specific permission on a specific object? What's the fastest way to find out if it's acquired? Even more interesting: How would I find out whether a specific role has a specific permission on a specific object,

Re: [Zope-dev] Objects, Roles and Permissions

2001-04-09 Thread Danny William Adair
Thank you very much, Richard! Cool! Still... ... Feel free to expand the method to other roles and the full suite of permissions. ... Other *roles*? Roles are what's coming back, isn't it? def viewPermissions(self, acquired=0): ''' walk up the acquisition path to find a

Re: [Zope-dev] url traversal

2001-04-26 Thread Danny William Adair
Hi Brett! Have you taken a look at the PathHandler Product? http://www.zope.org/Members/NIP/PathHandler/ This looks like an out-of-the-box solution for you. hth, Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Brett Carter Gesendet:

[Zope-dev] Trying to set roles/permissions programmatically - Now I have a headache!

2001-04-27 Thread Danny William Adair
Hello! I want to set the roles of a permission and turn acquisition of a permission (mapping) on and off programmatically. And of course I want to get a permission by its name. This looks definitely more complex than simply changing an object's property! I took a look at the management

Re:[Zope-dev] Trying to set roles/permissions programmatically - Now I have a headache!

2001-04-27 Thread Danny William Adair
, and setRoles (and acquisition setting) works like I expected, phew. Thanks anyway, Danny -Ursprungliche Nachricht- Von: Dieter Maurer [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 28. April 2001 06.26 An: Danny William Adair Cc: [EMAIL PROTECTED] Betreff: Re: [Zope-dev] Trying

[Zope-dev] manage_pasteObjects and REQUEST

2001-09-18 Thread Danny William Adair
Hi! Does anyone know when manage_PasteObjects will stop requiring REQUEST to be passed? I want to mimick the Cut/Copy/Paste Support of the management interface in a UI of my own. my method objectsCut holds: dtml-call manage_cutObjects(REQUEST['ids'], REQUEST) while my objectsPaste method

[Zope-dev] SearchIndex deprecation warning

2001-11-20 Thread Danny William Adair
Hi! I would like to get rid of this: .../lib/python/SearchIndex/__init__.py:91: Deprecation Warning: ... blah ... Please use instead the re-factored modules in Products/PluginIndexes

Re: [Zope-dev] SearchIndex deprecation warning

2001-11-20 Thread Danny William Adair
On Wednesday 21 November 2001 14:49, Andreas Jung wrote: Zope 2.4 does not use the old SearchIndex package. So this warning is printed when 3rd party applications still use this package. Andreas Sorry. Please allow me to repost my second sentence: Apparently one or more of my installed

Re: [Zope-dev] compilezpy (compileall)

2001-11-20 Thread Danny William Adair
On Wednesday 21 November 2001 17:27, Richard Jones wrote: On Wednesday 21 November 2001 15:12, Danny William Adair wrote: I wondered if this (see subject) was totally necessary during the installation. My Zope installation seems to run fine when I delete all the *.pyc and just start

Re: [Zope-dev] compilezpy (compileall)

2001-11-21 Thread Danny William Adair
On Wednesday 21 November 2001 18:41, Richard Jones wrote: On Wednesday 21 November 2001 16:34, Danny William Adair wrote: As from what I know (leaving aside for a moment that I basically know nothing), Zope should be _started_ as root, but then be _running_ as nobody. This does make sense

Re: [Zope-dev] SearchIndex deprecation warning

2001-11-21 Thread Danny William Adair
On Wednesday 21 November 2001 22:48, Steve Alexander wrote: Danny William Adair wrote: Apparently one or more of my installed (third-party) products is causing this. I don't think so. Try this: delete all filesystem products from the Zope control panel, and restart Zope. I think you'll

Re: [Zope-dev] Security Question

2001-11-28 Thread Danny William Adair
On Saturday 24 November 2001 01:40, Andre Schubert wrote: root/ index_html foo/ acl_users/ bar/ Image I have a image which could only be view by users with a role named foobar, these users are in acl_users. If i access the image through the web a must authenticate

Re: [Zope-dev] Security Question

2001-11-28 Thread Danny William Adair
This doesn't work, because the user it not known in root where the index_html is, the user is known in the folder view. Sorry. I think I read your first email a little too fast. This behavior is normal, and meant to strengthen Zope security. You are not calling the Image object, index_html

[Zope-dev] Open letters, hijacking and the like

2001-12-01 Thread Danny William Adair
Hi! Wow, this is the first time I have more zope-dev mails in my inbox than from the main list (and I'm very happy that all this stays on one list). What I have seen from ZC up til now seems like they disclose practically everything but their client base, ok and maybe plans for a commercial

Re: [Zope-dev] Another open letter. :-)

2001-12-02 Thread Danny William Adair
Hello Lennart, On Monday 03 December 2001 05:06, Lennart Regebro wrote: After the discussion here I'm slowly starting to form a picture in my mind of how to solve the problems. First some basic facts of life: - Zope corp needs to do what Zope corp thinks it can make money on. - We (that

Correction - was: Re: [Zope-dev] Another open letter. :-)

2001-12-02 Thread Danny William Adair
On Monday 03 December 2001 10:09, Danny William Adair wrote: Introduced to us as the Portal Toolkit, later labeled as probably evolving into a commercial product (couldn't find it in the archives when I tried a minute ago, but I know I wasn't dreaming when I read it), then renamed to Content

Re: [Zope-dev] Open letters, hijacking and the like

2001-12-02 Thread Danny William Adair
Hello Clark, I see your point here, and I understand your problem. But I do not share your opinion, especially when it comes to its conclusion. (branching) Zope Corp. is not living in a dream world: On the one hand ZC is this munificent benefactor of Zope. On the other hand ZC is this

Re: [Zope-dev] Competition

2001-12-06 Thread Danny William Adair
On Friday 07 December 2001 12:57, Clark O'Brien wrote: I don't think ZC feels this way. Note the comment by Hadar Pedhazur, Chairman of Zope Corporation: comment at:http://www.zope.com/News/PressReleases/DC2ZC This name change is intended to ensure that Zope and the company that develops

Re: [Zope-dev] Competition

2001-12-06 Thread Danny William Adair
S, We're eating... Danny On Friday 07 December 2001 13:43, Clark O'Brien wrote: No I am not implying anything other then there is competition in the Zope marketplace and ZC has positioned itself to be the one that ends up with the most beans. This is what makes the free market work

Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair
On Wednesday 19 December 2001 10:11, Jon Erickson wrote: I need a to create a simple counter variable that will store the number of iterations by a dtml-in structure. I have yet to find a way how to do this in zope. Here is an example (in perl) of what I need to do: The number of iterations

Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair
I will need to use the $counter variable later on in the script. Oh sorry, forgot that one... Inside your loop, you can do: dtml-if sequence-end dtml-call REQUEST.set('counter',_['sequence-number']) /dtml-if But then again, this would only give the _total_ number of iterations that have