tyson schrieb:
> I am having trouble getting my style sheet to load in my page template. 
> I added my .css file within the local package directory.  How can I
> point to this file on the filesystem.  I tried using a layer with a
> resource in my configure file, but that didn't work.  Any help would be
> much appreciated, thanks.
> 
just register your .css file as ressource via ZCML:

...
<browser:resource name="yourfile.css" file="yourfileonfilesystemin
samefolder.css" />
...

you can access it then via  {$site}/@@/yourfile.css
{$site} is the URL of the nearest site.

Dom
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to