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 _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )