Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Plone addon for labels.

Project Description

ftw.labels

A Plone addon for labels.

Containers, Folders for example, can be marked as label container. For each label container a set of labels with colors can be defined. Items whithin this container which support labelling can then be labelled with one or more labels.

Screenshots

Managing labels on the label container (ILabelJar):

Set label for a content (ILabelSupport):

Installation

  • Add ftw.labels to your buildout configuration:
[instance]
eggs +=
    ftw.labels
  • Install the generic setup profile of ftw.labels.

Usage / Integration

Add the ILabelJar marker interface to any container class you want:

<class class="Products.ATContentTypes.content.folder.ATFolder">
    <implements interface="ftw.labels.interfaces.ILabelRoot" />
</class>

For objects providing ILabelJar a left-column-portlet is added on the root of the Plone site which allows to manage labels.

Add the ILabelSupport marker interface to any item you want to be able to set labels on:

<class class="plone.app.blob.content.ATBlob">
    <implements interface="ftw.labels.interfaces.ILabelSupport" />
</class>

For objects providing ILabelSupport a right-column-portlet is added on the root of the Plone site which allows to manage labels.

Add the ILabelJarChild marker interface to any container class to display the labels stored in a parents ILabelJar

<class class="Products.ATContentTypes.content.folder.ATFolder">
    <implements interface="ftw.labels.interfaces.ILabelJarChild" />
</class>

For objects providing ILabelJarChild you can manage and store the same labels as defined in the ILabelJar content without defining a new ILabelRoot

Uninstall

The package provides an uninstall mechanism. Use Plone’s addon control panel or portal_quickInstaller to uninstall the package.

Changelog

1.1.1 (2017-02-09)

  • Fix labeljar portlet if you use it without ftw.table. The javascript for the ftw.table-integration was executed even if you don’t have an ftw.table. [elioschmutz]

1.1.0 (2016-03-21)

1.0.2 (2014-06-24)

  • Hide portlet for unprivileged users when there are no labels. [jone]

1.0.1 (2014-06-23)

  • Fix edit label link permission check in labels jar portlet. [jone]
  • Fix edit link permission check in labeling viewlet. [jone]

1.0.0 (2014-06-18)

  • Initial implementation. [elioschmutz, jone]
Release History

Release History

This version
History Node

1.1.1

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ftw.labels-1.1.1.tar.gz (300.5 kB) Copy SHA256 Checksum SHA256 Source Feb 9, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting