From: Jens K. <ye...@us...> - 2004-09-08 11:59:29
|
Update of /cvsroot/collective/PloneHelpCenter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8929 Modified Files: HISTORY.txt README.txt config.py Log Message: added optional 'Referenced Items' field to PHC. see comments in config.py what it does and how to switch this feature on. Index: config.py =================================================================== RCS file: /cvsroot/collective/PloneHelpCenter/config.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- config.py 10 Aug 2004 21:30:13 -0000 1.7 +++ config.py 8 Sep 2004 11:59:17 -0000 1.8 @@ -26,3 +26,25 @@ )) IMPORTANCE_DEFAULT = 'medium' + +# References to other referenceable (usally Archetypes based) items in the +# portal are disabled by default. By enabling them you'll get another Field in +# all PHCContent based types where you can select one or more items. In the view +# of those items at the bottom a 'see also' section shows the linked title and +# the description of the target object. Only 'View'able objects are shown. +# another option is to use the new-style ATReferenceBrowserWidget. It will be +# used if it is in your Products folder. You need to install it with +# quickinstaller, otherwise the base_edit of PHCContent based types is broken. + +ENABLE_REFERENCES = False +#ENABLE_REFERENCES = True + +# here you can specify which types are allowed as references. +REFERENCEABLE_TYPES = ('HelpCenterFAQ', + 'HelpCenterDefinition', + 'HelpCenterTutorial', + 'HelpCenterErrorReference', + 'HelpCenterHowTo', + 'HelpCenterLink', + #'Document' +) Index: HISTORY.txt =================================================================== RCS file: /cvsroot/collective/PloneHelpCenter/HISTORY.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- HISTORY.txt 6 Jul 2004 03:28:57 -0000 1.4 +++ HISTORY.txt 8 Sep 2004 11:59:17 -0000 1.5 @@ -35,6 +35,12 @@ migration script. The API should be fairly stable from now on, but keep in mind this is still only a 0.2 release ;) [Joel] + - added an optional ReferenceField (controlled in config.py) to cross- + reference from a PHC-type to another Archetype in the portal. This + shouldnt affect existing code. If you have ATReferenceBrowserWidget + installed its used instead of the dumb default ReferenceWidget. + [Jensens] + PloneHelpCenter 0.1 - Development version Index: README.txt =================================================================== RCS file: /cvsroot/collective/PloneHelpCenter/README.txt,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- README.txt 6 Jul 2004 22:31:43 -0000 1.9 +++ README.txt 8 Sep 2004 11:59:17 -0000 1.10 @@ -40,3 +40,6 @@ Fixing various stuff, documentation -- The Sprinters: Christian Heimes, Dorneles Treméa, Daniel Nouri, Nate Aune + Added optional 'see also' references to other Archetypes based types -- + Jens 'jensens' Klein, "jens quadrat":http://jensquadrat.com/ + |