[Zope-CMF] new cmf:registerDirectory directive
y.2007- at wcm-solutions.de
Tue Feb 27 08:16:52 EST 2007
I just added a new ZCML directive to the trunk (CMF 2.1):
Instead of using this in __init__.py:
from Products.CMFCore.DirectoryView import registerDirectory
You now can use this ZCML directive in your Product or package:
Please note that by default subdirectories are no longer registered
separately. To get exactly the same as above you have to use this:
But it is recommended to use a skins directory and register each
subdirectory explicitly by its name.
I didn't write a proposal in advance, so if there is something you don't
like about this checkin I'll be happy to modify it.
More information about the Zope-CMF