[Product-Developers] Simple extension policy product doesn't show in Products
rob.cecil at gmail.com
Tue Jun 23 16:15:16 UTC 2009
I did paste the "me/test/configure.zcml" which as the <five:registerPackage
/> in it. Shouldn't that have worked?
Martin Aspeli wrote:
> rcecil wrote:
>> I'm trying to follow Aspeli, pp 69-71, where he describes the initial
>> creation of a policy product using
>> paster create -t plone optilux.policy
>> I have tried the same using a fresh plone site (created via paster create
>> plone3_buildout...). I named my policy product "me.test" (created in the
>> folder obviously).
>> I edited my buildout.cfg to add "me.test" under "eggs", "src/me.test"
>> "develop" and "me.test" under [instance] zcml, and then rerun buildout.
>> See: http://paste.plone.org/28645
>> I can go into bin/zopepy, and run
>> "from me import test"
>> and I get no errors.
>> When I restart plone/zope, the product doesn't show in Control_Panel
>> Add-On Products though.
> It shouldn't, necessarily. It'll only do that if it has a
> <five:registerPackage />, but those are largely unnecessary these days.
> If you can import it like you said, you're good to go.
> Author of `Professional Plone Development`, a book for developers who
> want to work with Plone. See http://martinaspeli.net/plone-book
> Product-Developers mailing list
> Product-Developers at lists.plone.org
View this message in context: http://n2.nabble.com/Simple-extension-policy-product-doesn%27t-show-in-Products-tp3143252p3143467.html
Sent from the Product Developers mailing list archive at Nabble.com.
More information about the Product-Developers