[Product-Developers] Simple extension policy product doesn't show in Products

rcecil rob.cecil at gmail.com
Tue Jun 23 16:15:16 UTC 2009


Hi Martin,

I did paste the "me/test/configure.zcml" which as the <five:registerPackage
/> in it. Shouldn't that have worked?

http://paste.plone.org/28647

Thanks!


Martin Aspeli wrote:
> 
> rcecil wrote:
>> Hello,
>> 
>> 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
>> -t
>> plone3_buildout...). I named my policy product "me.test" (created in the
>> src
>> folder obviously).
>> 
>> I edited my buildout.cfg to add "me.test" under "eggs", "src/me.test"
>> under
>> "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
>> under
>> 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.
> 
> Martin
> 
> 
> -- 
> 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
> http://lists.plone.org/mailman/listinfo/product-developers
> 
> 

-- 
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 mailing list