Package: collective - TTWType
a product for defining new CMF types "Through The Web" via the ZMI
a test of SfIndex product
Sourceforge Info
| Project Name: | collective |
| Package Name: | TTWType |
| Files Page: | http://sourceforge.net/project/showfiles.php?group_id=55262&package_id=104621 |
| Browse CVS: | http://cvs.sourceforge.net/viewcvs.py/collective/TTWType/ |
Releases
| Release Date | Release Name | Download | |
|---|---|---|---|
| 2004-01-05 08:04 | TTWType-1.0rc2 | sourceforge | |
| 2003-12-29 15:00 | TTWType-1.0rc1 | sourceforge |
Package README (CVS ver. 1.4)
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.
You can either use TTWType or TTWFolder to specify your portal types.
This is some sort of prototype implementation to test
this idea.
Prerequisites
- Formulator (tested with 1.3.0)
- CMF
- CMFFormController
- Plone 2 (might be optional, I only tested it with Plone)
Installation
Use the quick installer to register TTWType. If you don't have
quickinstaller (cmf only people?) install TTWType the old way:
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: the skins as well as the
navigation and validation properties for a plone site
will be installed.
Next, you have to ready it for usage.
Usage
1. Go to the portal_types inside your Portal.
2. Add a new "TTW Type information" or "TTW Folder Type information"
from the drop-down box. Please note that at the moment, it is not
possible
to convert a non-folderish type to a folderish one after a type has been
defined.
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. Go to the Security tab at the root of your Portal, and give the
"Add TTWFolders" and "Add TTWObjects" permissions to the Member
role.
7. 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, 2004 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*