Skip to main content

Google Code like tagging for Plone

Project description

Introduction

collective.gtags provides Google Code style tagging for Plone. There is a control panel that lets administrators define a vocabulary of tags, where tags may have a “category” prefix. For example, “Department-IT” and “Department-HR” would both be tags in the “Department” category. A tag “Important” has no category.

The administrator may further decide whether users should be allowed to pick non-standard tags globally (if also enabled on a per-type basis), and list categories as required and/or unique.

zope.schema field

This is implemented via a custom zope.schema style field: collective.gtags.field.Tags. This is a sub-class of zope.schema.Set, with custom validation. It will only work once the package is installed, since it depends on the ITagSettings utility installed with this package to properly function.

The field is accompanied by a default z3c.form widget, which uses jQuery and the jQuery autocomplete widget to provide the user interface.

See tagging.txt in the package for a detailed doctest of the basic tags functionality.

Behavior

To use this field, you can either use the Tags field directly in your own schema, or use the collective.gtags.behaviors.ITags behavior in a Dexterity type or other type that supports plone.behavior. This behavior will place a tags field in the “Categorization” field set and store tags in the Subject Dublin Core metadata field, thus taking the place of the standard ‘keywords’ field.

Acknowledgements

Development of this package was sponsored by Deloitte Australia (http://deloitte.com.au).

Changelog

1.0b2 - 2009-07-12

  • Catch up with changes in plone.registry’s API. [optilude]

1.0b1 - June 23rd 2009

  • 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.gtags-1.0b2.tar.gz (19.7 kB view details)

Uploaded Source

File details

Details for the file collective.gtags-1.0b2.tar.gz.

File metadata

File hashes

Hashes for collective.gtags-1.0b2.tar.gz
Algorithm Hash digest
SHA256 8f96cb0d7e088625fd3f8d067717d815704044fb68a031d85b85daa27c2f4c71
MD5 0de3c973abe5f33052fd1e64c2dfa6c0
BLAKE2b-256 7098c975274b91de4039729a1b72bdfbb1093cfcc57b513869de542920da13ab

See more details on using hashes here.

Supported by

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