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] newbie question: variables

2000-05-29 Thread Brad Moulton
As I am new to both zope and python i am not quite sure how to phrase this question so I'll explain my example hoping this helps. I have created some simple zclasses to add,edit delete customer,jobs, product etc objects I'd like to be able to store and use the "username" captured in a simple

[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)"

[Zope] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread zope
Hi. With some values that I got from a formular, I wan't to do some calculation stuff, and insert the calculated values into a database. My Z SQL method'insertItem' looks like Arguments: param1, param2, param3, param4 INSERT INTO plan (field1, field2, field3, field4) VALUES (dtml-var param1,

[Zope] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread Andy Pahne
It's pretty easy: dtml-call "sql_method(argument1=value1, argument2=value2)" There's a problem with your SQL-statement: INSERT INTO plan (field1, field2, field3, field4) VALUES (dtml-var param1, dtml-var param2, dtml-var param3, dtml-var param4) It should be: 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 Su

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
Gould [mailto:[EMAIL PROTECTED]] Sent: 24 May 2000 13:43 To: [EMAIL PROTECTED] Subject: [Zope] newbie question: case sensitive folder problem How can I make a folder on my site case - insensitive in regards to access from URLs. If someone types http://mysite.com/bigfolder

<    1   2