[Zope] Acquisition isn't always bandwidth and browser-cache friendly, advice needed

Farzad Farid farzy@via.ecp.fr
Sun, 14 Nov 1999 17:35:36 +0100


On Sun, Nov 14, 1999, Christopher Petrilli wrote:
> On 11/14/99 9:20 AM, Farzad Farid at farzy@via.ecp.fr wrote:
> 
> > How can this problem be solved elegantly without completely putting aside
> > the acquisition process? How can I do it in this particular case with
> > images?
> 
> This problem is already solved if you do:
> 
>     <dtml-var logo>
> 

 But then I have to put the logo in the root folder. Or is there a
syntax for still accessing the logo in the 'images' folder?

> It will insert the absolute location, non acquired.  This was fixed a while
> back. You can also do this:

 It does insert the absolute URL, but it is still acquired... If I chek
the source of the generated page for my DTML document
"/AlcoveInterne/Outline/glop1/index_html" I see :
	<img
	src="http://localhost:8080/AlcoveInterne/Outline/glop1/logo"
	width="601" height="72" alt="Alcove - L'informatique est libre">

where I'd be expecting :
	src="http://localhost:8080/AlcoveInterne/logo"

 Am I still doing something wrong? FYI I'm using Zope 2.0.0.

 Regards

-- 
Farzad FARID <farzy@via.ecp.fr>
Ingénieur Informatique Libre
Alcôve - http://www.alcove.fr/