[Product-Developers] Sub folder in a skin missing

Christian Thieme c.thieme at lieblinx.net
Tue Dec 9 11:34:39 UTC 2008


Martijn Pieters schrieb:
> On Tue, Dec 9, 2008 at 10:27, Christian Thieme <c.thieme at lieblinx.net> wrote:
>> In a skin i registered a directory for custom images.
>> Since there are many images in this directory i created some sub folders to
>> organize them. This worked perfectly until recently on the production server
>> the subfolders went missing.
> 
> IIRC this is caused by the way you register the skin in ZCML and a
> subtle difference between how one way only recurses when in Dev mode.
> Register with:
> 
>     <cmf:registerDirectory name="skins" directory="skins" recursive="True"/>
> 
> and you should be fine in production or dev mode.
> 

It works.

Thanks a lot.






More information about the Product-Developers mailing list