Re: [Zope] Newbie Question

2006-09-24 Thread Andreas Jung
--On 24. September 2006 10:49:12 -0500 Perry Smith <[EMAIL PROTECTED]> wrote: Is it possible to have the same host running ZOPE 2 and ZOPE 3? I would like to put both on a Mac OS X server. I have Apache 2.2 running on it and PostgreSQL version 8.1.3 running my existing software. I'd li

Re: [Zope] Newbie-question

2005-06-23 Thread Thomas Adams
Paul Winkler schrieb: On Thu, Jun 23, 2005 at 08:55:05PM +0200, Thomas Adams wrote: hi all, I have specific folder name "art" in Zope in which i installed a user folder, and a user with "manager role". now i want anaonymous user to access i.e view the website ubeneath the folder "art". Th

Re: [Zope] Newbie-question

2005-06-23 Thread Paul Winkler
On Thu, Jun 23, 2005 at 08:55:05PM +0200, Thomas Adams wrote: > hi all, > > I have specific folder name "art" in Zope in which i installed a user > folder, and a user > with "manager role". now i want anaonymous user to access i.e view > the website ubeneath the folder "art". Therefore i granted

Re: [Zope] newbie question

2005-05-25 Thread Florent Guillaume
Barry Drake <[EMAIL PROTECTED]> wrote: > I'm getting an error in CMFCore.utils in the > _mergedLocalRoles function. The error is: > > Exception Type TypeError > Exception Value can only concatenate tuple (not > "list") > to tuple Note, this problem is due to a non-core prod

Re: [Zope] newbie question

2005-05-24 Thread Phillip Hutchings
> It doesn't look like a monkey patch. Those aren't invisible in tracebacks. > > Follow the code path higher until you do get some effect. I've seen odd things before, but I agree, it isn't likely that it's a monkey patch. Chances are that some product is outdated. > I would imagine it's some so

Re: [Zope] newbie question

2005-05-24 Thread J Cameron Cooper
Phillip Hutchings wrote: Then generated the error. The error log shows the same output as before. Not only should the line number be one higher, I also put a dummy variable name on that line to generate a stupid error msg. How can it not be getting to that code? I've searched for another Zope

Re: [Zope] newbie question

2005-05-24 Thread Barry Drake
Thanks for your help. I really needed another brain to bounce things off of so I can get out of the rut I'm in. You've given me some fresh ideas to try. Thanks. Barry --- Phillip Hutchings wrote: > > Then generated the error. The error log shows the > > same output as before. Not only should

Re: [Zope] newbie question

2005-05-24 Thread Phillip Hutchings
> Then generated the error. The error log shows the > same output as before. Not only should the line > number be one higher, I also put a dummy variable name > on that line to generate a stupid error msg. > > How can it not be getting to that code? I've searched > for another Zope instance, bu

Re: [Zope] newbie question

2005-05-24 Thread Barry Drake
Thank you Phillip. I modified the zope.conf file as you suggested and did sudo ./zope stop ... usual msg sudo ./zope start ... usual msg Then generated the error. The error log shows the same output as before. Not only should the line number be one higher, I also put a dummy variable name o

Re: [Zope] newbie question

2005-05-24 Thread Phillip Hutchings
> I modify utils.py, after saving a copy, in order to > obtain diagnostic output. Then I delete utils.pyc, > after saving a copy, in order to force a recompile > (even used compilezpy.py for this a couple of times). > Zope never seems to use the new version. Restart Zope. Python will pick up the

Re: [Zope] Newbie question: HTTP variables

2001-01-13 Thread Michael Bernstein
Dean & Deb Ekstrand wrote: > > I'm trying to figure out Zope (on a time crunch, too), and I'm wondering how > to do something. How can I access HTTP variables in my DTML code? > Specifically, I want to return code specific to the user's browser. I know > that HTTP has provisions for determing b

Re: [Zope] Newbie question - Link between Methods based on Authorization

2000-12-19 Thread Timothy Wilson
On Tue, 19 Dec 2000, Michal Krejza wrote: > I have problem with access to method. Example - There are two methods: A and > B. Method A contains common information, accessible for all user (include > anonymous). Source code in method B updates data for method A and access for > method B is restric

Re: [Zope] Newbie question - Link between Methods based on Authorization

2000-12-19 Thread Oliver Bleutgen
> I am still newbie in Zope, so my question may be stupid - sorry. > I have problem with access to method. Example - There are two methods: A > and > B. Method A contains common information, accessible for all user (include > anonymous). Source code in method B updates data for method A and acces

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after havi

Re: [Zope] Newbie question: adding a tinyTables objec

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after havi

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-19 Thread peter bengtson
If a product contains only a Help object, it means that the product is a Python Product, rather than a ZClass Product. No broken box in front of the Product name, hmm... Does Zope raise any errors when you try to start it? Try to remove the whole TinyTable folder and reinstall it again after havi

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-18 Thread Richard Blumberg
No, that's the problem. The icon isn't a broken box, but a regular product icon. Clicking on the link shows that there's one item in TinyTablesPlus, a Help document; when I open that, it tells me that there are no items in TinyTablesPlus. So Zope seems to be seeing the product, but not adding

Re: [Zope] Newbie question: adding a tinyTables object

2000-12-18 Thread Peter Bengtsson
Go to the Control Panel and click on Products. The TinyTable product is probably going to have a little "broken box"-icon. Click on it and wish that it will tell you the error so that you can fix it. Good luck, Peter > I'm running Zope on a Win98 machine; downloaded, unstuffed, and > installe

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': > > > > ID > Product > > > > Then feed sort_key into your SQLSelectQuery to use in an ORDER BY clause. > > select * from table order by > You s

Re: [Zope] Newbie question, help with navigation method

2000-12-06 Thread Dieter Maurer
Richard Blumberg writes: > Navigation works when called directly, > does not work when included in "index_html" > > Navigation: > > > Is this a bug in Zope, or am I doing something wrong? Not directly. Almost surely, your "index_html" is a DTML document. A DTML doc

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

2000-12-04 Thread Chris Gray
Here's a fragment from a table that allows sorting by clicking the header in a dtml method named 'displayTable': ID Product Then feed sort_key into your SQLSelectQuery to use in an ORDER BY clause. select * from table order by You can change the properties of an object in DTML by callling

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

2000-12-04 Thread Steve Spicklemire
You could try: http://www.zope.org/Members/sspickle/Zieve Let me know if you have any troubles... it does exactly this. -steve > "John" == John Cappelletti <[EMAIL PROTECTED]> writes: John> I am listing the results of a database query using John> dtml-in. I'd like to be able to g

Re: [Zope] Newbie question

2000-11-29 Thread gpgreen
Awesome! That did the trick. I'm starting to like this. -- Greg Green e-mail: [EMAIL PROTECTED] http://www.olywa.net/gpgreen/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! *

Re: [Zope] Newbie question

2000-11-29 Thread gpgreen
On Sat, Apr 22, 2000 at 04:04:58PM +1000, Malcolm Tredinnick wrote: > The syntax you want, if I've understoof the question, is (untested): > > > You need to do it this way because the stuff inside the quotes is a python > expression and hyphens are not permitted in Python variable names. S

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
OK, this seems to work. def manage_addMyProduct(self, id, title='', REQUEST=None, RESPONSE=None): self._setObject(id, MyProduct(id, title)) if REQUEST is not None: whereto= REQUEST['URL3'] RESPONSE.redirect(whereto, lock=0) -- .paul winkler...

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
Dieter Maurer wrote: > > If you need it in the constructor, then you must > either pass in an object that is tied by acquisition > or REQUEST or RESPONSE itself, > or you must move the call out into the method > "manage_afterAdd" (where the object already is tied in). Well, I don't have that met

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Dieter Maurer
Paul Winkler writes: > I want the user to be sent to a particular URL after calling the > product's manage_add method. How can I do that? > The URL I want is REQUEST['URL3']. > > I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the > RESPONSE doesn't seem to exist here. I h

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
Phil Harris wrote: > > You need to be careful when redirecting from an external Python wotsit. > > RESPONSE.redirect raises an exception which can make the transaction get > rolled back. > > This seems not to happen when called from dtml but I've seen it happen from > an external Python wotsit.

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
Michel Pelletier wrote: > > Paul Winkler wrote: (snip) > > Looking through various Zope docs, I thought RESPONSE.redirect might > > work, but RESPONSE is not mentioned anywhere in Boring.py. Boring > > only uses REQUEST. > > So pass it RESPONSE: > > def manage_addMyProduct(self, blah, blah, RE

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Phil Harris
You need to be careful when redirecting from an external Python wotsit. RESPONSE.redirect raises an exception which can make the transaction get rolled back. This seems not to happen when called from dtml but I've seen it happen from an external Python wotsit. Note: My use of wotsit above

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Michel Pelletier
Paul Winkler wrote: > > seb bacon wrote: > > > > * Paul Winkler <[EMAIL PROTECTED]> [001127 19:54]: > > > I want the user to be sent to a particular URL after calling the > > > product's manage_add method. How can I do that? > > > The URL I want is REQUEST['URL3']. > > > > > > I've tried RESPONSE

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread Paul Winkler
seb bacon wrote: > > * Paul Winkler <[EMAIL PROTECTED]> [001127 19:54]: > > I want the user to be sent to a particular URL after calling the > > product's manage_add method. How can I do that? > > The URL I want is REQUEST['URL3']. > > > > I've tried RESPONSE.redirect(REQUEST['URL3']) but that's

Re: [Zope] newbie question: Redirect from Python?

2000-11-27 Thread seb bacon
* Paul Winkler <[EMAIL PROTECTED]> [001127 19:54]: > I want the user to be sent to a particular URL after calling the > product's manage_add method. How can I do that? > The URL I want is REQUEST['URL3']. > > I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the > RESPONSE doesn't

Re: [Zope] Newbie Question

2000-11-24 Thread Chalu Kim
me. > > TIA > > Dany > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Andy > > McKay > > Sent: Thursday, November 23, 2000 7:00 PM > > To: Chris Withers > > Cc: Dany Riou

RE: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Dany Rioux
uot;Welcome to Zope mailing list" email but if there is, my apologies. Thanks. Dany > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Michel Pelletier > Sent: Friday, November 24, 2000 12:17 PM > To: Dany Rioux > Cc: Zop

Re: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Michel Pelletier
Dany Rioux wrote: > > Thanks Philipp and Jim, > > It worked! But... (there's always a but! :) I thought I was clever > when I thought about naming my news files news999, news998 etc, > thinking it would parse the directory and print the news sorted by > their names. So news998 would be printed b

RE: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Dany Rioux
To: Zope Mailing List > Subject: Re: [Zope] Newbie Question > > > > > I'm probably just being dumb... :) > > > > -- > > > > > > > > > > > > > > > > > > > > > > >

Re: [Zope] Newbie Question

2000-11-24 Thread Jim Washington
Dany: These should work: -or- -or- --Jim Washington Dany Rioux wrote: > > I'm probably just being dumb... :) > > -- > > > > > > > > > > > -- > > This doesn't work. Nothing gets printed. > > In the News folder is a DTML me

Re: [Zope] Newbie Question

2000-11-24 Thread Philipp Dunkel
> I'm probably just being dumb... :) > > -- > > > > > > > > > > this should work out for you. cu Philipp ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

RE: [Zope] Newbie Question

2000-11-24 Thread Dany Rioux
t: Thursday, November 23, 2000 7:00 PM > To: Chris Withers > Cc: Dany Rioux; Zope Mailing List > Subject: Re: [Zope] Newbie Question > > > Or even: > if this news thing is a file ;-P > > > Or even: > > > > > > > > ;-) > >

Re: [Zope] Newbie Question

2000-11-23 Thread Andy McKay
Zope Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 23, 2000 2:47 PM Subject: Re: [Zope] Newbie Question > Or even: > > > > ;-) > > Chris > > Andy McKay wrote: > > > > > > > > -- > > Andy McKay, Developer.

Re: [Zope] Newbie Question

2000-11-23 Thread Chris Withers
Or even: ;-) Chris Andy McKay wrote: > > > > -- > Andy McKay, Developer. > ActiveState. > - Original Message - > From: "Dany Rioux" <[EMAIL PROTECTED]> > To: "Zope Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, November 23, 2000 2:20 PM > Subject: [Zope] Newbie Question >

Re: [Zope] Newbie Question

2000-11-23 Thread Andy McKay
-- Andy McKay, Developer. ActiveState. - Original Message - From: "Dany Rioux" <[EMAIL PROTECTED]> To: "Zope Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 23, 2000 2:20 PM Subject: [Zope] Newbie Question > Hi everyone, > > Simple newbie question... :) > > I've made

Re: [Zope] Newbie question(s)

2000-11-13 Thread Rik Hoekstra
"Bowyer, Alex" wrote: > > Hi, > > I have what I'm sure is a very simple question about Zope programming style: > I want to count how many objects are contained in the current container > object and then do something with that value, but I can't do the bit I need > to do at the point of reading

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
From: Bowyer, Alex >My query is really more general though, that was just an example, >I need to know what the generally accepted method is for >transferring values through the code (i.e between namespaces) I do believe that our ugly friend REQUEST.set() is the way to go here. I cannot remember

Re: [Zope] Newbie question(s)

2000-11-12 Thread Morten W. Petersen
[Alex Bowyer] | My query is really more general though, that was just an example, I need to | know what the generally accepted method is for transferring values through | the code (i.e between namespaces) Unless I've misunderstood your problem, wouldn't do the trick? (See DTML manual for more i

RE: [Zope] Newbie question(s)

2000-11-12 Thread Bowyer, Alex
> >I want to count how many objects are contained in the > current container > >object and then do something with that value, but I can't do > the bit I > >need to do at the point of reading the count variable > because I am in > >the wrong namespace. > > I would try and do it like this (unt

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
From: Bowyer, Alex >I want to count how many objects are contained in the current container >object and then do something with that value, but I can't do the bit I >need to do at the point of reading the count variable because I am in >the wrong namespace. I would try and do it like this (unte

Re: [Zope] newbie question

2000-11-09 Thread Dieter Maurer
Stephan Goeldi writes: > ... > > > > ... > and the form_action method is this: > > "money" will come in as a string value not as a list. It would be a list, if you added a "multiple" to your "select". > This will always be true. It is constant (an expression without variable,

Re: [Zope] newbie question

2000-11-09 Thread seb bacon
* Stephan Goeldi <[EMAIL PROTECTED]> [001109 16:49]: > > > This is not much! > > > This is ok! > > > This is very much! > > > > I am sure that there is an error in my thinking of these tags. yup :) try This is not much This is OK

Re: [Zope] newbie question

2000-11-09 Thread Christian Scholz
HI! > I want to select from a select menu, 3 amounts: 1000, 5000 or 1. After > this, the form action method should reply: > > - "this is not much" if 1000 was selected, > - "this is ok" if 5000 was selected, > - "this is very much" if 1 was selected > > Now my form method looks like th

Re: [Zope] newbie question

2000-11-09 Thread Paul Zwarts
Another thing you can do, not sure if Im using it right, but the effect is good... You must specify a First Name. I have a support call form that is filed and submitted, and after the button is pressed, a seperate validate method is called (c

RE: [Zope] newbie question

2000-11-09 Thread hohage
Hallo Stephan you can't iterate over a string! That's working: This is not much! This is ok!

Re: [Zope] newbie question

2000-11-09 Thread Geir Bækholt
possibly not the cleanest way of doing it, but this ought to do what you want.. 1000 5000 .. etc.. and This is not much! This is ok! -- Geir Bækholt web-developer/designer [EMAIL PROTECTED] http://www.funcom.com on Thursday, November 09, 2000 Stephan Goeldi wrote : SG> I want to sele

Re: [Zope] Newbie question

2000-11-06 Thread Holger Hoffmann
Hi, Brown Fox wrote: > > Hello, > i want to view a dtml-document, calling it as > a variable. > For example: > > > > > try > > > > where this file is called with this string: > test3 > > The result i now get is the id, not the content of the > file! > > Thanks, > Bruno ... Holg

Re: [Zope] newbie question

2000-10-24 Thread Chris Withers
Hi Kathy, > Error Type: SyntaxError > > Error Value: invalid syntax > > Troubleshooting Suggestions It looks like your addEntry.py file has some syntax mistakes in it (think mis-spelled, badly indented or otherwise defective python ;-) Try comparing it with what it should be and see if the pro

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-16 Thread Manuel Amador (Rudd-O)
access contents information I guess. Aaron Straup Cope wrote: Hi, My name is Aaron. I am trying to set up zope with (atleast) three roles : manager, admin, user. I'd like to give the last two the bare minimum Security permissions possible and adding them as needed later on. My problem is that I c

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-10 Thread Dieter Maurer
Aaron Straup Cope writes: > I did not want to allow the Anonymous role *any* permissions, and the > site I am working in is contained in a folder beneath the root Zope > folder. > > The problem was that I had disabled the "Access contents > information" privilege for the Anonymous user (wh

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-10 Thread Aaron Straup Cope
Yes, it was a misunderstanding regarding basic user permissions and the Anonymous role on my part. I did not want to allow the Anonymous role *any* permissions, and the site I am working in is contained in a folder beneath the root Zope folder. The problem was that I had disabled the "Access co

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-08 Thread Dieter Maurer
Aaron Straup Cope writes: > My problem is that I can't seem to figure out, specifically, which > permissions to give a user that will allow them to read ZopeTime(). Strange... "DateTime.DateTime" objects (and therefore "ZopeTime") are explicitely unprotected (and can be used by everyone). I tr

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-06 Thread Aaron Straup Cope
Doh! Sorry. Error Type: KeyError Error Value: ZopeTime On Fri, 6 Oct 2000, knight wrote: > Aaron, you left out the error. What was it... > > On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > > > Hi, > > > > My name is Aaron. > > > > I am trying to set up zope with (atleast) three roles : manag

Re: [Zope] Newbie question : ZopeTime & permissions

2000-10-06 Thread knight
Aaron, you left out the error. What was it... On Fri, 6 Oct 2000, Aaron Straup Cope wrote: > Hi, > > My name is Aaron. > > I am trying to set up zope with (atleast) three roles : manager, admin, > user. > > I'd like to give the last two the bare minimum Security permissions > possible and add

Re: [Zope] Newbie Question: File upload in from my own Product

2000-09-20 Thread Dieter Maurer
Dicken, Peer writes: > I´m new to Zope ;) I´m currently composing a set of products for my website > and have a little problem now: > I need to make a Product that makes it possible to upload a file, well, > basically a tuned "FILE" object. > I need to add a description. Is it right to add th

Re: [Zope] newbie question: installing ZSiteMap and ZPhotoAlbum

2000-09-04 Thread Bill Anderson
Tamara Temple wrote: > > Hi all, > > My first posting here, please forgive if this is obvious, cause it > isn't to me. I already checked the How-To's and searched the zope-list > archives and came up with nothing. > > I downloaded the two zexp files for ZSiteMap and ZPhotoAlbum, and put > them

Re: [Zope] Newbie question: FORM processing in Zope.

2000-08-28 Thread Loren Stafford
A great resource for newbies is the collection of How-To's http://www.zope.org/Documentation/How-To (or better yet: http://www.zope.org/Members/AlexR/tips/howto_list where you can use browser search to find what you need). Search for "forms" and you will see, for example: http://www.zope.org/M

Re: [Zope] Newbie question: FORM processing in Zope.

2000-08-28 Thread J. Atwood
Easy and hard answer. The easy answer is forget what you know about scripts/cgi and pulling in form variables from some sort of CGI method (perl module). Since Zope is a constant running process it does not require that you point to a script. Hard Answer: The basics are that all you have to do i

RE: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-21 Thread Steve Drees
> With the advent of Zope 2.2, the first thing you need to do is to create a > management user. You cannot use the 'superuser' to manage content. I > know this is a little unfamiliar, but, for now, just suspend disbelief and > create another user with the 'Manager' role (by visiting the acl_user

RE: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-21 Thread Chris McDonough
There is a proposal something like this in the works. > -Original Message- > From: Steve Drees [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 21, 2000 11:11 AM > To: Chris McDonough > Cc: Zope User Maillist > Subject: RE: [Zope] Newbie Question (Conten

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Dieter Maurer
Hi Mark, Mark A. Pappas writes: > I installed Zope 2.2.0 > I dloaded the Content Manager Guide > ... > Zope Error > Zope has encountered an error while publishing this resource. > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser The Content M

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris McDonough
See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx, section named "The Superuser". I hope to have this chapter really finished this weekend. On Sat, 19 Aug 2000, Chris Withers wrote: > Chris McDonough wrote: > > With the advent of Zope 2.2, the first thing you need to do i

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Jan H. Haul
"Mark A. Pappas" wrote: > I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded > the Content Manager Guide and started working through the tutorial. Went to > create a folder as instructed. > > Below is what I got. What am I doing wrong? > > Error Type: SuperCannotOwn > Erro

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris Withers
Chris McDonough wrote: > With the advent of Zope 2.2, the first thing you need to do is to create a > management user. You cannot use the 'superuser' to manage content. Can anyone remind me why? T0he problems it's caused, particularly with broswers caching basic auth info, seem to be pretty na

Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris McDonough
Darn. Those docs are a little ( ok, a lot...) out of date. They're still useful, but they don't cover a few things. With the advent of Zope 2.2, the first thing you need to do is to create a management user. You cannot use the 'superuser' to manage content. I know this is a little unfamil

Re: [Zope] Newbie question: referring to documents

2000-08-07 Thread Dieter Maurer
David Loeffler writes: > > whenever I try to get hold of this with anything like "_[objId].getProperty(dest)"> (objId is the id of the document) it simply > redirects ... "_[xxx]" executes (calls) the retrieved object, if possible. In your case, execution calls "RESPONSE.redirect". Yo

Re: [Zope] newbie question: how do I adjust field width?

2000-07-31 Thread Bill Anderson
Joe Hewitt wrote: > > Hi, > > I'm making an input form. When I try to change the form's input field > width, it automagically displays 30 char for each field. Is there any way > to adjust the width? Basic HTML Question. Please read HTML docs. > > Different question: where can I find some go

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Phil Harris
gt;; <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 11:44 PM Subject: Re: [Zope] Newbie question on page counters > Chris Withers wrote: > > > > Chris Withers wrote: > > > To do what you want, you probably want something like: > > > > > > > >

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Chris Withers
"Richard P. Muller" wrote: > > >"manage_changeProperties(counter_value=getProperty('counter_value',getProperty(counter_starting_value,0)-1)+1)"> > Words simply cannot express my gratitude. Wow, guess it worked then... that was a bit of luck (I didn't actually test it ;-) > Can you clue me in a

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Richard P. Muller
Chris Withers wrote: > > Chris Withers wrote: > > To do what you want, you probably want something like: > > > > > >"manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)"> > > Erk, maybe this: > > >"manage_changeProperties(counter_value=getProperty('

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Chris Withers
Chris Withers wrote: > To do what you want, you probably want something like: > > >"manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)"> Erk, maybe this: Chris ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Chris Withers
"Richard P. Muller" wrote: > I'm in the process of learning Zope hacking, and I'm having a really > hard time getting a page counter to work. It isn't even that page > counters are all that important to me, it's that I feel that if I can't > even do something this simple, what hope do I have doing

Re: [Zope] Newbie question on Zope and WorldPilot

2000-06-29 Thread Angel Rivera
thanks that did it... At 11:48 AM 6/29/00 -0600, Bryan Stillwell wrote: >On Thu, 29 Jun 2000, Angel Rivera wrote: > > > Hey Zope Meisters > > > > I am a newbie who is trying hard to get WorldPilot to > > run. i think i got most of it to work until it comes to add > > a WorldPilot Product Inst

Re: [Zope] Newbie question on Zope and WorldPilot

2000-06-29 Thread Bryan Stillwell
On Thu, 29 Jun 2000, Angel Rivera wrote: > Hey Zope Meisters > > I am a newbie who is trying hard to get WorldPilot to > run. i think i got most of it to work until it comes to add > a WorldPilot Product Instance and no matter what I have > tried it will not work. Can someone direct me to a

Re: [Zope] [Newbie Question] Pertaining to Search Engines

2000-06-29 Thread Chris Withers
Eddie Mosier wrote: > Is it possible for you to get a site that is built with zope to be found by > search engines (other than those that are directory listings, like > yahoo.com and dmoz.com)? Yes, lots of Zope sites get hit from search engines, including zope.org. My own Zope site gets refere

Re: [Zope] newbie question

2000-06-22 Thread ethan mindlace fremen
Alexander N Gould wrote: > > Now that I've set up some virtual hosts off my zserver, I have another > question. These sites (each in a folder in the zope DB) share a lot of > data in the form of some custom zobjects representing contacts, calendar > items, and posts to discussion boards. If I p

Re: [Zope] Newbie Question (dropdown menu)

2000-06-21 Thread Jim Sanford
This is my answer to another seeker's question. It should also answer yours. This code assumes that the variable customerid on the form contains a value that matches up with customerid in the query custcompanysearch ___ selected>

Re: [Zope] Newbie Question (dropdown menu)

2000-06-21 Thread Jim Washington
Hi, Joel Just displaying the list in a : If "whatever" already has a value and you want that selected: selected > the tags are apparently optional. hth -- Jim Washington joel grimes wrote: > > I'm trying to fill a combo-box (pardon the vb-centric lingo - I don't know > wha

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Phil Harris
eh tone, your using my name in vain again ;) - Original Message - From: "Tony McDonald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Zope List" <[EMAIL PROTECTED]> Sent: 07 June 2000 16:56 Subject: Re: [Zope] Newbie question: graphics in subdi

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Tony McDonald
At 11:35 am -0400 7/6/00, Randy Edwards wrote: > > >This is the Document. >Now show a graphic: > > > > >That references an image file in the root directory called logo.jpg. >Everything works, it displays fine. > >However, I want to keep all of my commonly used image files in a >subdirect

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Rik Hoekstra
>However, I want to keep all of my commonly used image files in a > subdirectory called /images. So I create a folder called "images", upload > another copy of logo.jpg into it, everything's fine. I change the dtml in > the "test" document to be "". And it doesn't > work, giving me an er

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Andrew Kenneth Milton
+[ Randy Edwards ]- | I'm going to rewrite my web site in dtml and am using the latest stable | Zope. Well, I should say I'll rewrite it after I get over this infuriating | newbie problem I have. :-) | ` | I'm trying to get Zope to display an image

Re: [Zope] Newbie Question,

2000-06-07 Thread Chris Withers
CURTIS David wrote: > I wish to use use the date of a database file in my dynamic html code. For example, >this database was last updated on 06/06/2000. I suppose that there must be a dynamic >html tag that zope uses. What could it be? I looked at all the documentation and >have yet to disc

Re: [Zope] newbie question: variables

2000-05-30 Thread Dieter Maurer
Brad Moulton writes: > I'd like to be able to store and use the "username" > captured in a simple login/password DTML method If you use "basic authentication", then the browser will manage the username and send it on any request. You can access it via "AUTHENTICATED_USER". If your user allows c

Re: [Zope] newbie question: parameter passing for ZSQL Object

2000-05-28 Thread Stephan Richter
>With , Zope gives me following error message: If the parameters are from another SQL statement, then the SQL method will not find them, since not the entire namespace is sent. Try: pvalueX can be also a variable. If your variables are called paramX, then the following will work: That is

Re: [Zope] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread Graham Chiu
In article <[EMAIL PROTECTED]>, zope <[EMAIL PROTECTED]> writes >My Z SQL method'insertItem' looks like > >Arguments: param1, param2, param3, param4 > >INSERT INTO plan >(field1, field2, field3, field4) >VALUES >(, , , ) Insert into plan ( field1, field2, field3 field4 ) values ( , , , ) --

RE: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Marcus Collins
You could try using Apache rewrite rules to convert all URL's to lower case, and then use only lower case names for your folders, documents and methods. As long as the case is consistent, one rewrite rule should cover everything. hth, -- Marcus > -Original Message- > From: Alexander N G

Re: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Steve Alexander
Alexander N Gould wrote: > > How can I make a folder on my site case - insensitive in regards to access > from URLs. If someone types http://mysite.com/bigfolder/ into their > browser, I want it to take them to the Bigfolder, but right now, it > produces a missing object error. Any hints? Sorr

Re: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Phil Harris
create an other object (DTML Method) called bigfolder with these contents (untested): - Original Message - From: "Alexander N Gould" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 12:43 PM Subject: [Zope] newbie question: case sensitive folder problem > Ho