Overview
ftw.tagging extends Plone content types with a tags field using schemaextender for Archetype or a behavior for Dexterity.
It’s possible to define tag roots to restrict tags to a part of the site. If no tag root is set, the Plone-root will also be your tag-root.
A tag cloud portlet is provided that shows a tag cloud for the current tag root.
As an example, ftw.tagging is used by ftw.blog for tagging blog entries.
Install
Add ftw.tagging to your buildout configuration:
[instance] eggs = ftw.tagging
Run buildout
Install ftw.tagging in portal_setup
Usage
Enable tagging on your AT types:
<class class="path.to.my.class"> <implements interface="ftw.tagging.interfaces.tagging.ITaggable" /> </class>
Enable tagging on your DX types with a behavior:
<property name="behaviors" purge="False"> <element value="ftw.tagging.behavior.ITagging" /> </property>
Optionally define tag roots (AT or DX):
<class class="path.to.my.class"> <implements interface="ftw.tagging.interfaces.tagging.ITagRoot" /> </class>
For DX, you could alternatively use a behavior to define tag roots:
<property name="behaviors" purge="False"> <element value="ftw.tagging.interfaces.tagging.ITagRoot" /> </property>
Tag Cloud
You can show the tag-cloud by adding the tag-cloud portlet provided by this package.
Compatibility
Runs with Plone 4.3.
Links
Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.tagging
Copyright
This package is copyright by 4teamwork.
ftw.tagging is licensed under GNU General Public License, version 2.
Changelog
1.2.0 (2018-12-10)
Fix DecodeUnicodeError in the tag cloud portlet. [mbaechtold]
Convert index values to UTF8 byte strings. [mbaechtold]
Remove superfluous space after linked tag. [mbaechtold]
Drop support for Plone 4.2. [mbaechtold]
Add support for Dexterity. [mbaechtold]
Drop Plone 4.0 and 4.1 support. [jone]
1.1.1 (2014-09-23)
Lowering tags for sorting. [mathias.leimgruber]
1.1.0 (2013-08-29)
Add Spanish translations. [spanish]
1.0.3 (2013-04-17)
Updates in tests, readme and buildout. [jone]
1.0.2 (2012-02-28)
Fixed MANIFEST.in: Include README.rst, no longer exclude .mo files. [Thomas Buchberger]
1.0.1 (2012-02-27)
Add english translations. [jone]
1.0 (2011-02-25)
Made getTagRootTags() method more robust and more efficient. [buchi]
1.0b1
Fix portlet html structure [mathias.leimgruber]
1.0a3
1.0a2
Fixed MANIFEST.in - again [jone]
1.0a1
Fixed MANIFEST.in [jone]
0.1
Initial release
Metadata
Release files for ftw.tagging 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ftw.tagging-1.2.0.tar.gz | 26.2 kB | Details |
Release files / ftw.tagging-1.2.0.tar.gz
| Download URL | ftw.tagging-1.2.0.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02b9f0b2d0ca96c6bcc008a795fa66201873253d2348c44029f8522394429d4d
|
|
BLAKE2b-256 checksum How to use checksums |
648a49e94a0938b62e9cdb9d5f41e416feb0c0c25630dabf8c493ec956181464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.15
|