[Zope3-Users] Configuration via ZCML
Ronaldo Z. Afonso
ronaldoafonso at gmail.com
Wed Feb 13 12:06:48 EST 2008
Thank you again.
Ronaldo.
On Wed, 2008-02-13 at 01:16 -0200, Fernando Correa Neto wrote:
> 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