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

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


-----BEGIN PGP SIGNED MESSAGE-----
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.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEsAfU+gerLs4ltQ4RApVYAKC2cDcC5iNMPJwR8166dOd0Si78JwCgvMkT
bMpnYoZXjsPHBUjv0lZ0vvE=
=c4B9
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list