[Zope-CMF] Re: DirectoryView, GenericSetup/skins, CMF 2.1

Tres Seaver tseaver at palladion.com
Sat Jul 8 15:30:28 EDT 2006

Hash: SHA1

Rocky Burt wrote:

> I'm currently investigating registering DirectoryView's from regular
> python packages with GenericSetup+skins.xml.  After debugging through
> this somewhat I have discovered that minimal paths described in
> skins.xml are made relative to $INSTANCE_HOME/Products.  Obviously in a
> regular python package (living outside of Products) this means using
> minimal paths won't work.  And of course since the actual location of
> the py package will vary from deployment to deployment, the logical
> approach would be to make the minimal path relative to the package home.
> Does anyone have any idea's on this?  So far it looks like all other
> major cmf functionality can be used outside in a regular python package
> (living outside of Products).  Perhaps I'm missing something?  If this
> is indeed the case ... would you all entertain a proposal/patch from me
> providing a way to use skins from py packages that is b/w compatible
> with the current approach?

Hmmm, I thought this was landed already:  I worked that out back in
November / December, I think, on the 'tseaver-pkg_resources' branch.

- --
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Zope-CMF mailing list