document how to modify dexterity types

Philip Bauer <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
I want to document to best practices how to modify the default types in plone for
http://docs.plone.org/external/plone.app.contenttypes/docs/README.html#information-for-addon-developers

This would involve basically everything we would usually do in your own schema with schema-hints in plone.autoform.directives and plone.supermodel.directives.fieldset: 
- Ommiting changing the mode from the default schema or from default behaviors
- Moving fields (also between fieldsets) 
- Changing widgets
- Changing the permissions

I tried using Tagged values like this but got nowhere:

from plone.autoform.interfaces import ORDER_KEY
from plone.app.contenttypes.interfaces import INewsItem
INewsItem.setTaggedValue(ORDER_KEY, [('IDublinCore.description', 'before', 'IDublinCore.title')])

The existing example for chaining widgets (http://docs.plone.org/external/plone.app.contenttypes/docs/README.html#how-to-override-widgets) works but should have more examples.

Is there already some documentation somewhere that I did not find or can someone give me code-examples and/or pointers.

Cheers,
Philip

--
Starzel.de
Philip Bauer
Adlzreiterstr. 35
80337 München
Tel: 089 - 189 29 533
Fax: 089 - 189 29 535
[email protected]
www.starzel.de

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
signature.asc (application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTrCzlAAoJEOeXgSbn9GtJ/GUH/1KDGZunS0krY7d+k/OdNpIN
1JCZDBnelKvVhoCDy5bLo3E/D0Mf91ahgZ33bdYlLARgMBLJpYhoVA3Fc001/w+l
gEkvvUoe6F/KhVZAkBFUUnS15Ew4BZXTBP3+MF2+jiyqbjjuN3TI8n/ASEH4YnBg
Ee5GGHNdqCHBRC4tq+07fnpw8PvkrEZwNJGkL7vJFhO/NCMS9hiJOXiuQk9p6eDx
0Lepw1C0MHc/YJm+sI5Yoe85KdjkJ7ity+IFD3fPJ2pnl0vjkMvLdsQLT9Q+4shL
vDIlDZBmp62GB/uBUeVeDjiFecgDHlHxpsWt/N7uhAPmJE2Rnvl/+Rh0zwcAzi4=
=FryF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.