[Zope3-Users] Configuration via ZCML

Christophe Combelles ccomb at free.fr
Tue Feb 12 14:04:00 EST 2008


Ronaldo Z. Afonso a écrit :
> 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?

Hi Ronaldo,

you should add a <include package="yourpackage" />
somewhere in an upper configure.zcml or site.zcml.

If the file name is not configure.zcml, but for example meta.zcml,
you should specify it with
<include package="yourpackage" file="meta.zcml" />

Christophe

> Thanks in advance.
> 
> Ronaldo.
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
> 
> 



More information about the Zope3-users mailing list