开发者

How do I run the example content type in Plone?

I am using the Plone framework for developing a content type. I tried the example given in the document guide section on the official Pl开发者_如何学Goone web site, but I don't know how to install a product in Plone or how I can otherwise run this example?

Can anyone please tell me, how I can run this example in my Plone server?


Guessing Archetype as content type framework

  • in [buildout:directory]/src

    paster create -t archetype your.package

  • in buildout.cfg

    [...]

    develop += src/your.package

    [...]

    eggs+= your.package

    [...] zcml+= your.package

restart zope plone control panel -> products addon -> do activate your product.

that's all.

BTW, documentation linked by former answers is a must.


See

http://collective-docs.plone.org/tutorials/buildout/creatingpackage.html

In addition look at the mr.developer extension for zc.buildout.

http://pypi.python.org/pypi/mr.developer/1.17


See Development Eggs on the same tutorial, earlier page http://plone.org/documentation/manual/developer-manual/managing-projects-with-buildout/installing-a-third-party-product

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜