Virtual tree categories/keywords for Plone
Project description
Introduction
This project aims to virtualize Plone default keywords (categories), which are flat, to the tree. Contains Archetypes widget, based on InAndOut widget, which replaces Plone’s default widget for categories and contains configlet which allows to assign flat keywords to virtual tree defined in the configlet.
Site manager defines virtual tree nodes and assigns keywords to the nodes. One keyword may be assigned to any number of nodes (0-all).
Archetypes widget contains javascript based filter which allows to filter out unwanted nodes and displays keywords in the selected node(s) only. Keywords are stored in the same way as in Plone default so storage is 100% compatible and don’t require any migrations. You can always remove this package and your content-keywords assignment stays untouched.
Please note, this package ‘’’does not’’’ replace AT KeywordWidget of Subject (Categories) field. It means you may define categories tree but you can’t test keyword selection in the conten type Categorization tab. You may uncomment part of code in widget.py or use the following example in your custom package:
from collective.virtualtreecategories.widget import VirtualTreeCategoriesWidget from Products.ATContentTypes.content.document import ATDocumentSchema old = ATDocumentSchema['subject'].widget ATDocumentSchema['subject'].widget = VirtualTreeCategoriesWidget(label=old.label, description=old.description) del old
Changelog
0.1 - 2009-09-01
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.virtualtreecategories-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d8bed348daf119e8854be0d499bc4edacbe03f0cc8cde51d0490667f5c6fa1 |
|
MD5 | 3371468a1387fe5f3dd74b209f359c83 |
|
BLAKE2b-256 | b2bf9c8b802e19b5cda80f8233897124ff095ca06fa3d9a09c1f64b79ab9eba5 |
Hashes for collective.virtualtreecategories-0.1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f50599b8f84f9e5b0eac429fb47de8139a3e267585916d60f8625898af81610a |
|
MD5 | 73ff317524f12dff71e3539773f4c0b7 |
|
BLAKE2b-256 | d6ec1a855c44f65424bd6a903a2a5438130996eec72888914d33830af9580e94 |