[Product-Developers] Re: ANN: Customisation tutorial

Dorneles Treméa dorneles at x3ng.com.br
Sat Jan 19 13:17:46 UTC 2008


Hello,

> I've seen some people confused by this (who obviously don't own my book 
> - limi said that's a "bug"), so I wrote a quick tutorial and demo 
> product showing the main types of filesystem customisation, including 
> the use of plone.browserlayer (which my book doesn't cover). There's 
> little fluff, but hopefully it's useful to a few of you.
> 
> http://plone.org/documentation/tutorial/customization-for-developers

well done, Martin! :-)

What about changing the skins registration directory to the ZCML
based way?

IOW, removing:

  from Products.CMFCore.DirectoryView import registerDirectory
  GLOBALS = globals()
  registerDirectory('skins', GLOBALS)

...from __init__.py and adding:

  xmlns:cmf="http://namespaces.zope.org/cmf"

  <cmf:registerDirectory name="skins" directory="skins"
    recursive="True" />

...to configure.zcml? :-)

-- 

Dorneles Treméa
X3ng Web Technology
http://nosleepforyou.blogspot.com





More information about the Product-Developers mailing list