From: <ye...@us...> - 2003-10-30 08:11:20
|
Update of /cvsroot/plone-docs/Developers/Archetypes In directory sc8-pr-cvs1:/tmp/cvs-serv1594 Modified Files: ArchGenXML.rst Log Message: added installation behavior and minor changes Index: ArchGenXML.rst =================================================================== RCS file: /cvsroot/plone-docs/Developers/Archetypes/ArchGenXML.rst,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** ArchGenXML.rst 29 Oct 2003 14:33:38 -0000 1.14 --- ArchGenXML.rst 30 Oct 2003 08:11:14 -0000 1.15 *************** *** 216,219 **** --- 216,226 ---- ==================== + Installation Procedure + ---------------------- + + Instead of editing 'Extensions/Install.py' you should place a file 'AppInstall.py'. + Define one or both methods out of 'install' and 'uninstall' and put you additional code in here. + They are called after the automatic installation process via 'CMFQuickInstallerTool' (or old school style: calling External methods). + Classes in General ------------------ *************** *** 237,251 **** additional_parents ! parent classes for the class, comma-delimeted. autoinstall - Only in combination with stereotype 'portal_tool'. If set to '1' a portal_tool instance will be created while installing the Product. class_header Code in here appears in the header of the class. content_icon ! set image name used as icon for the content type. Defaults to 'classname.gif' with classname as the replaced by the name of the class. Affects fti. folder_base_class --- 244,295 ---- additional_parents ! parent classes for the class, comma-delimited. autoinstall If set to '1' a portal_tool instance will be created while installing the Product. + Only in combination with stereotype 'portal_tool'. class_header Code in here appears in the header of the class. + configlet + If set to '1' the 'view' action of the portal_tool will be used as a configlet. + Defaults to '0'. + Only in combination with stereotype 'portal_tool' and tagged value autoinstall set. + + configlet_condition + Conditon expression for configlet. + Defaults to empty string. + Only in combination with configlet. + + configlet_description + Description of the configlet. + Defaults to 'ArchGenXML generated Configlet configlet_title in Tool classname'. + Only in combination with configlet. + + configlet_icon + Icon used for configlet. + Defaults to 'plone_icon'. + Only in combination with configlet. + + configlet_section + Section where configlet should appear. One out of 'Plone', 'Product' or 'Member' + Defaults to 'Product'. + Only in combination with configlet. + + configlet_title + Title of portal_tool and configlet. + Defaults to the class name. + Only in combination with configlet. + + configlet_view + View which is shown for configlet + Defaults to the '/'. + Only in combination with configlet. + content_icon ! set image name used as icon for the content type. ! Defaults to 'classname.gif' with classname as the replaced by the name of the class. ! Affects fti. folder_base_class |