Skip to main content

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):

https://raw.github.com/4teamwork/ftw.labels/master/docs/label_jar.png

Set label for a content (ILabelSupport):

https://raw.github.com/4teamwork/ftw.labels/master/docs/label_support.png

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

2.0.1 (2019-11-26)

  • Corrected bug when removing multiple personal labels, if one is not assigned. [sgeulette]

2.0.0 (2019-10-15)

  • Replaced string by list parameter in ILabeling pers_update method. [sgeulette]

1.3.1 (2018-10-02)

  • Add upgrade step to migrate from 1.2.x version to 1.3.1 (Transform PersistentList in PersistentMapping and Add ‘by_user’ key to False in jar) [anuyens]

1.3.0 (2018-04-25)

  • Labels can also be set user by user, not only globally. [sgeulette]

1.2.1 (2018-02-12)

  • Set applyPrefix=”True” for “++resource++ftw.labels/select2.css” in cssregistry.xml. [gbastien]

1.2.0 (2018-02-02)

  • Added French translations. [gbastien]

  • Redirect to HTTP_REFERER instead context.absolute_url after a label is added using the labejar portlet. [gbastien]

  • Display ‘Edit labels’ title when hovering edit labels icon. [gbastien]

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 files for ftw.labels 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftw.labels 2.0.1
File Size Uploaded
ftw.labels-2.0.1.tar.gz 306.7 kB Details

Release files / ftw.labels-2.0.1.tar.gz

Download URL ftw.labels-2.0.1.tar.gz
Size 306.7 kB
Tags Source
SHA-256 checksum
How to use checksums
eb468e54cb9c11c9932df47db75a66d6dd84c2a737d23ce9e5a6aeb687795173
BLAKE2b-256 checksum
How to use checksums
9185f9c726b1c555fb5bcd79449678b38218e19bcb4cdf48f93c5a17694aaa19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15

Release history Release notifications | RSS feed

This release

2.0.1 This release

1 release file

2.0.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page