[Product-Developers] Sub folder in a skin missing

Martijn Pieters mj at zopatista.com
Tue Dec 9 10:18:14 UTC 2008


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.

-- 
Martijn Pieters




More information about the Product-Developers mailing list