1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
TTWType - a product for defining new CMF types via the ZMI
you can use TTWType to define new CMF portal types via
the ZMI (without creating a new product). This is different
to modifying existing portal types as you can also add new
fields.
This is some sort of prototype implementation to test
this idea.
Prerequisites
- Formulator (tested with 1.3.0)
- CMF
- Plone (might be optional, I only tested it with Plone)
Installation
create an external method inside your portal with the
following data:
id -- install_ttwtype
title -- Install TTW Type
module name -- TTWType.Install
function name -- install
Then click on the Test Tab and the skins aswell as the
navigation and validation properties for a plone site
will be installed.
Ready it's for usage.
Usage
1. Go to the portal_types inside your Portal.
2. Add a new "TTW type information" from the drop-down box
3. optionally fill in description and title
4. click on the "Fields" tab on the top
5. you will be presented by a Formulator management screen.
Simply add fields and configure them.
These will be used in the edit form also.
6. now you can add your new type via the normal Plone/CMF interface
Optionally you can then adjust the ttw_view skin (copy it to
a new name and change the view action in your type information).
(C) 2003 by Christian Scholz (cs@comlounge.net).
Contact me also as MrTopf@IRC.
COM.lounge can be reached at http://comlounge.net
*Aachen, 2003/03/01*
|