[Zope-CMF] Re: Views not found

Jens Vagelpohl jens at dataflake.org
Wed Mar 29 11:44:35 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 29 Mar 2006, at 17:09, yuppie wrote:

>> - - define my own cmfcalendar skin and layer. Declare it as a  
>> combination of layers cmfcalendar, cmf and default.
>> - - stick my views directly into layer "cmf" and don't worry about  
>> defining my own layeer or skin.
>
> I think the second route is the Right Way to do it with Zope 3  
> style layers. I can't see a need to define an extra layer for  
> CMFCalendar.

Yes, sounds good to me.


>>     ConfigurationError: ('Invalid value for', 'layer',  
>> "ImportError: Couldn't import cmf, No module named cmf")
>
> I guess the problem is the order in which Five loads the  
> configure.zcml files. But I have no idea what's the recommended way  
> to make sure CMFDefault's configure.zcml is loaded first.

I'll dig a bit more.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEKrnkRAx5nvEhZLIRAoiMAJ4kV4ZGOOw5kqiANtedZGN8mrZHPACcCo03
pIIeSrRLOhsVeO9uNjZXLRo=
=IuZb
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list