From: Martijn Pieters [EMAIL PROTECTED]
I still think something else was broken, SiteAccess should (and does, as
far
as I know) stay away from SCRIPT_NAME.
Yep. Environment/CGI variables are left alone by the virtual hosting
machinery; only Zope-specific ones are altered.
An example of a
On Tue, Aug 08, 2000 at 12:45:02PM -0400, Evan Simpson wrote:
From: Martijn Pieters [EMAIL PROTECTED]
I still think something else was broken, SiteAccess should (and does, as
far
as I know) stay away from SCRIPT_NAME.
Yep. Environment/CGI variables are left alone by the virtual hosting
From: Martijn Pieters [EMAIL PROTECTED]
SCRIPT_NAME will work in simple cases, but BASE1 ought to work in all
cases,
and using it is a better habit to have in general.
We better file a Collector item on this then, as the current Zope
Management
Interface uses it still.
Done. I also
On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic Internet Solutions
wrote:
I am writing a python product and want to display a GIF file in some of the
manage_pages. It is not meant to be the "icon" property of the class, just
an image to be included in DTML. I included it
- Original Message -
From: "Martijn Pieters" [EMAIL PROTECTED]
To: "Performance.net Strategic Internet Solutions"
[EMAIL PROTECTED]
Cc: "ZOPE Mailing List" [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 12:19 PM
Subject: Re: [Zope] Accessing .gif on disk w
On Mon, Aug 07, 2000 at 01:12:03PM -0300, Performance.net Strategic Internet Solutions
wrote:
On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic
Internet Solutions wrote:
I am writing a python product and want to display a GIF file in some of
the manage_pages. It is
Martijn Pieters" [EMAIL PROTECTED]
To: "Performance.net Strategic Internet Solutions"
[EMAIL PROTECTED]
Cc: "ZOPE Mailing List" [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 1:15 PM
Subject: Re: [Zope] Accessing .gif on disk with Python Product?
On Mon, Aug 07, 2
On Mon, Aug 07, 2000 at 01:38:56PM -0300, Kevin Howe wrote:
Right you are, here's how I solved it:
# __init.py__ for myProduct
misc_={
'chooserIcon': ImageFile('images/chooserIcon.gif',globals()),
}
# DTML file
img src="dtml-var absolute_url/misc_/myProduct/chooserIcon"
From: Martijn Pieters [EMAIL PROTECTED]
misc_ is a root level object. Using absolute_url you are acquiring it into
your Instance URL, which is not necessary (and will hamper off-server
caching). Use dtml-SCRIPT_NAME; instead (which will give you the absolute
url
of the root object in all
Martijn Pieters wrote:
On Mon, Aug 07, 2000 at 04:23:36PM -0400, Evan Simpson wrote:
From: Martijn Pieters [EMAIL PROTECTED]
misc_ is a root level object. Using absolute_url you are acquiring it into
your Instance URL, which is not necessary (and will hamper off-server
caching). Use
10 matches
Mail list logo