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.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.0b1.tar.gz (19.7 kB view hashes)

Uploaded Source

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