Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.virtualtreecategories-0.1.tar.gz (86.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

collective.virtualtreecategories-0.1-py2.4.egg (123.9 kB view details)

Uploaded Egg

File details

Details for the file collective.virtualtreecategories-0.1.tar.gz.

File metadata

File hashes

Hashes for collective.virtualtreecategories-0.1.tar.gz
Algorithm Hash digest
SHA256 95d8bed348daf119e8854be0d499bc4edacbe03f0cc8cde51d0490667f5c6fa1
MD5 3371468a1387fe5f3dd74b209f359c83
BLAKE2b-256 b2bf9c8b802e19b5cda80f8233897124ff095ca06fa3d9a09c1f64b79ab9eba5

See more details on using hashes here.

File details

Details for the file collective.virtualtreecategories-0.1-py2.4.egg.

File metadata

File hashes

Hashes for collective.virtualtreecategories-0.1-py2.4.egg
Algorithm Hash digest
SHA256 f50599b8f84f9e5b0eac429fb47de8139a3e267585916d60f8625898af81610a
MD5 73ff317524f12dff71e3539773f4c0b7
BLAKE2b-256 d6ec1a855c44f65424bd6a903a2a5438130996eec72888914d33830af9580e94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page