Andreas Jung wrote:
>
>
> --On 16. Mai 2008 13:58:27 +1000 Lynn Alford
> <
lynn.alford@...> wrote:
>
>> Using Plone 3.0.6
>>
>> I've noticed that the categories or /portal_catalog/Indexes/Subject
>> keywords disappear when the last document using that keyword is removed
>> or no longer associated with that keyword.
>>
>> Is it possible to lock in some of these keywords so they remain even
>> if no
>> documents in Plone currently use them?
>
> Basically no.
Effectively yes ;-)
While Plone never really grew full support for the meta data tool
the CMF supports meta data policies since ages including cases
like the one here.
It's a bit hidden and probably undocumented but here we go:
ZMI -> portal_metadata -> schema tab (should be the default
view of the tool in ZMI) -> click DCMI in the Metadata Schemas
section (why do so many people not know that the plural form
of 'schema' is 'schemata' - but I digress ...) -> click
'Subject' within the 'Element' row -> add terms to the
vocabulary field - in the upper part if this should apply
to all portal types (don't forget to press 'Update') or
in the lower part to define a portal type specific policy.
BaseObject's 'Vocabulary method is clever enough to pick
up the policy.
BTW: Plone uses this itself to provide the event types - or
at least used to do it that way. In the Plone 3.0.6 I'm currently
messing with this is not the case but that may just be my local
setup.
Raphael
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users