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

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 View

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.

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 product

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

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

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, but

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 the

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

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 sort

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

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

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

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

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 access

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 restrict

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 installed

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 -- 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] 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: dtml-in objectValues Is this a bug in Zope, or am I doing something wrong? Not directly. Almost surely, your "index_html" is a DTML

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': table tr tha href="displayTable?sort_key=ID+desc"ID/a/th tha href="displayTable?sort_key=product"Product/a /tr dtml-in "SQLSelectQuery(sort_key=REQUEST['sort_key'])" Then feed

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 seem

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 not it - the

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

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 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, REQUEST=None,

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 method.

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

2000-11-24 Thread Dany Rioux
MAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy McKay Sent: Thursday, November 23, 2000 7:00 PM To: Chris Withers Cc: Dany Rioux; Zope Mailing List Subject: Re: [Zope] Newbie Question Or even: dtml-in "objectValues(['File'])" if this news thing is a file

Re: [Zope] Newbie Question

2000-11-24 Thread Philipp Dunkel
I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues dtml-var "_['sequence-item']" /dtml-in /dtml-with /p dtml-var standard_html_footer this should work out for you. cu Philipp

Re: [Zope] Newbie Question

2000-11-24 Thread Jim Washington
Dany: These should work: dtml-in objectIds dtml-var "_['sequence-item']" /dtml-in -or- dtml-in objectValues dtml-var sequence-item /dtml-in -or- dtml-in objectValues dtml-var some_attribute_of_the_sequence-item /dtml-in --Jim Washington Dany Rioux wrote: I'm probably just

RE: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Dany Rioux
, November 24, 2000 5:00 PM To: Zope Mailing List Subject: Re: [Zope] Newbie Question I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues dtml-var "_['sequence-item']" /dtml-

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 before

RE: [Zope] Newbie Question Fixed but continuing.

2000-11-24 Thread Dany Rioux
uot; 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: Zope Mailing List Subject: Re: [Zope] Newbie Question Fixed but

Re: [Zope] Newbie Question

2000-11-24 Thread Chalu Kim
To: Chris Withers Cc: Dany Rioux; Zope Mailing List Subject: Re: [Zope] Newbie Question Or even: dtml-in "objectValues(['File'])" if this news thing is a file ;-P Or even: dtml-in objectValues ;-) Chris Andy McKay wrote: dtml-in "o

Re: [Zope] Newbie Question

2000-11-23 Thread Andy McKay
dtml-in "objectValues()" -- 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...

Re: [Zope] Newbie Question

2000-11-23 Thread Chris Withers
Or even: dtml-in objectValues ;-) Chris Andy McKay wrote: dtml-in "objectValues()" -- 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

Re: [Zope] Newbie Question

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

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 the

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

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 (untested):

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 dtml-let do the trick? (See DTML manual

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

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 problem

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

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

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 (whose

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

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 adding them

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 : manager, admin,

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 the

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 in the

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

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:

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 (Content Manager Tutorial

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_users

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

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

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 Error

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 is

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 Manager

Re: [Zope] Newbie question: referring to dtml-call documents

2000-08-07 Thread Dieter Maurer
David Loeffler writes: whenever I try to get hold of this with anything like dtml-var "_[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

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 good

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 page counters

2000-07-27 Thread Chris Withers
Chris Withers wrote: To do what you want, you probably want something like: dtml-call "manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)" Erk, maybe this: dtml-call

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: dtml-call "manage_changeProperties(counter_value=getProperty(counter_value,counter_starting_value-1)+1)" Erk, maybe this: dtml-call

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 put

Re: [Zope] Newbie Question (dropdown menu)

2000-06-21 Thread Jim Washington
Hi, Joel untested Just displaying the list in a select: select name="whatever" dtml-in ZSQLMethodthatgetsthelist option value="dtml-var theFieldname"dtml-var theFieldname/option /dtml-in /select If "whatever" already has a value and you want that selected: select name="whatever" dtml-in

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 ___ dtml-let tcustid="customerid" select

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

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: graphics in subdirs

2000-06-07 Thread Rik Hoekstra
snip 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 "dtml-var /images/logo.jpg". And it

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Tony McDonald
At 11:35 am -0400 7/6/00, Randy Edwards wrote: dtml-var standard_html_header h2dtml-var title_or_id/h2 pThis is the dtml-var id Document./p pNow show a graphic: br dtml-var logo.jpg /p dtml-var standard_html_footer That references an image file in the root directory called logo.jpg.

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 subdirs At 11:35 am -0400 7

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

2000-05-28 Thread Stephan Richter
With dtml-call insertItem, 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: dtml-call "insertItem(param1=pvalue1, param2=pvalue2, param3=pvalue3, param4=pvalue4)"

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

2000-05-28 Thread Stephan Richter
With dtml-call insertItem, 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: dtml-call "insertItem(param1=pvalue1, param2=pvalue2, param3=pvalue3, param4=pvalue4)"

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 (dtml-var param1, dtml-var param2, dtml-var param3, dtml-var param4) Insert into plan ( field1,

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): dtml-call "RESPONSE.redirect('BigFolder')" - Original Message - From: "Alexander N Gould" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 24, 2000 12:43 PM Subject: [Zope] newbie

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? Sorry if

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