[Zope] Acquisition isn't always bandwidth and browser-cache
friendly, advice needed
Christopher Petrilli
petrilli@digicool.com
Sun, 14 Nov 1999 11:49:54 -0500
On 11/14/99 11:35 AM, Farzad Farid at farzy@via.ecp.fr wrote:
> 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?
No you can use:
<dtml-var Images.logo>
or even:
<dtml-var expr="Images[page_logo].tag(align='right')">
> 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.
Oops, this is a bug resolved in 2.1 :-) Sorry...
Chris
--
| Christopher Petrilli Python Powered Digital Creations, Inc.
| petrilli@digicool.com http://www.digicool.com