[Zope-CMF] Need for portal_url tool?

Chris Withers chrisw@nipltd.com
Sat, 2 Jun 2001 23:26:22 +0100


> > ...where I'd much prefer to just see:
> > <img src="&dtml.url-icon;">
> > ...or something similar...
>
> Consider that, for caching purposes, you *really* want all the icons to
> have a single, fixed URL;  making the URL relative to the content object
> would mean that the icon almost never got cached.

Ah, but the above wouldn't, it returns the icon's absolute url which never
changes (bar virtual hosting) and is great for caching...

> Live with it a while longer;  having an easy way to mention the
> *site* URL is a blessing (and the tool can do other tricks, like computing
> a physical path relative to the CMFSite).

I believe you, I'm just bashing the walls, nice to find them solid :-)

cheers,

Chris