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

2006-07-09 Thread yuppie
Hi Rocky! Rocky Burt wrote: Perhaps a patch from my side would more adequately explain what it is I'm trying to accomplish. I've attached the patch to this message. The only thing that is missing (for me) is tests at this point. +1 for fixing this, but may I suggest another approach?

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

2006-07-09 Thread Rocky Burt
Hi Yuppie! On Sun, 2006-09-07 at 13:46 +0200, yuppie wrote: +1 for fixing this, but may I suggest another approach? 'minimal_fp' is a registry key created by 'utils.minimalpath'. Right now 'DirectoryView._dirpath' contains this registry key and I'd prefer to keep it like that. This is

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

2006-07-09 Thread yuppie
Hi Rocky! Rocky Burt wrote: On Sun, 2006-09-07 at 13:46 +0200, yuppie wrote: The keys generated by 'utils.minimalpath' currently look like this: MyProduct/skins/my_skin full/path/to/MyPackage/skins/my_skin But we could change 'utils.minimalpath' to generate keys like these: