plone / plone.app.dexterity

Dexterity is a content type system for Plone
http://docs.plone.org/external/plone.app.dexterity/docs/index.html
18 stars 43 forks source link

"Related Items" behaviour / update documentation or ...? #75

Open tkimnguyen opened 11 years ago

tkimnguyen commented 11 years ago

Related Items behaviour isn't available when building content types TTW (Plone 4.3rc1)

The Dexterity manual explains how to add it in a product, but I really wanted to build the type TTW.

In searching around for information on how to add this behaviour, I discovered some old (out of date?) documentation here: http://plone.org/products/dexterity/documentation/manual/developer-manual/reference/standard-behaviors (adding "plone.app.dexterity.behaviors.metadata.IRelatedItems" does not work). I also encountered mention of looking up plone.app.dexterity in the configuration registry, but I did not find anything like it in my Plone 4.3rc1 site.

Then I found at http://stackoverflow.com/questions/6920817/rendering-related-items-of-a-dexterity-content-type a mention of https://pypi.python.org/pypi/plone.app.relationfield. The process of adding that egg to the buildout, then activating it, so that one gets the "Related Items" behaviour TTW needs to be documented, or made easier (preferably).

davisagli commented 11 years ago

This is discussed in the Dexterity 2.x release notes: https://github.com/plone/plone.app.dexterity/blob/master/RELEASE_NOTES.txt#L65

But yes, we should update the manual too. You could speed this along by making a pull request; otherwise I'll get to it "eventually." Thanks for pointing out the need.