[Zope] Finding stylesheet
Paul Winkler
pw_lists at slinkp.com
Mon Mar 20 11:04:03 EST 2006
On Mon, Mar 20, 2006 at 03:44:02PM +0000, John Poltorak wrote:
> I would like to set up a page template to use the stylesheet my.css if it
> is in the current folder, but if not to use the one in the root folder.
>
> How do I specify this?
This is a very common and basic usage of implicit acquisition.
Something like:
<link rel="stylesheet" type="text/css" href=""
tal:attributes="href context/my.css/absolute_url" />
--
Paul Winkler
http://www.slinkp.com
More information about the Zope
mailing list