[Zope3-Users] overriding single resources from resourcedirectories

Tom Gross itconsense at gmail.com
Mon Jun 2 08:20:34 EDT 2008


Hi,

	is it possible to override single resources from a previously defined 
resourcedirectory? I have let's say a 3rd party product defining

...
   <resourceDirectory
       name="mycss"
       directory="resources"
       permission="zope.Public"
       />

...

Now I need to override a single css-file provided by the 
resource-directory. What would the directive be?

overrides.zcml:

...
   <resource
       name="mycss/single.css"
       file="single.css"
       permission="zope.Public"
       />
...

I tried that, but without success. Is there a solution beside of copying 
the whole directory to my new product?

Thanks,
-Tom



More information about the Zope3-users mailing list