[Zope3-Users] Configuration via ZCML

Fernando Correa Neto fcdoth at gmail.com
Tue Feb 12 22:16:51 EST 2008


Hey,

On Feb 12, 2008 4:15 PM, Ronaldo Z. Afonso <ronaldoafonso at gmail.com> wrote:
> Hi all,
>
> I'm trying to configure a content type but it seems my "configure.zcml"
> is not being used. Do I have explicitly to tell Zope where this
> configure.zcml file is?
> Thanks in advance.

Make sure you have your pakage inside of etc/package-includes of your instance.
So you if you have a foo package in your lib/python, then you need to
put a foo-configure.zcml inside etc/package-includes with:

<include package="foo" />

That's it.

HTH,
Fernando


More information about the Zope3-users mailing list