Skip to main content

collective.categorizing aims to add hierarchical categorizing to Plone with Category content type.

Project description

Introduction

Contents in Plone can be categorized by subjects (keywords) with collection machinery. However, it does not support hierarchical categorizing and backward categorizing. It is also not aware of languages.

collective.categorizing aims to provide easy to categorize with all those functions supported.

This package is only tested with Plone-3.2.3

Changelog

0.1.1 - (2009-07-09)

  • Japanese translations added.

0.1.0 - (2009-07-08)

  • Initial release

Installation

To install collective.categorizing into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this:

  • When you’re reading this you have probably already run easy_install collective.categorizing. Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall

  • If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:

    python setup.py install --home /path/to/instance

into your Zope instance.

  • Create a file called collective.categorizing-configure.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this:

    <include package="collective.categorizing" />

Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Add collective.categorizing to the list of eggs to install, e.g.:

    [buildout]
    eggs =
    collective.categorizing
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    recipe = plone.recipe.zope2instance
    zcml =
    collective.categorizing
  • Re-run buildout, e.g. with:

    $ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

HOWTO

This part of document describes how to categorize contents in a plone site.

  1. Once you have installed this package, you can add CategoryContainer content type. Add it any ware within a folderish content type. You need to select content types to be categorized when you add the CategoryContainer. All the plone default conten type should be shown there. Those content types you have selected and which resides in the same parent folderish content type (Parent Folder) as CategoryContainer will be categorized.

    Example

    To categorize all the Document content type of the plone site, add the CategoryContainer exactly under the plone root.

  2. Add Category (Let’s call this, Category A) content type to CategoryContainer. You may also add another Category (Category B) to already added Category A. Category B is now subcategory of Category A. If you have another Cateogry (Category C), which is not hierarchically subcategory of Category A, but still want to make it as a subcategory of Category A, you may refer it from edit page of Category A at the field of subcategory.

  3. If you already have content types to be categorized, they are already categorized. If you don’t have one, add one to a Parent Folder or any subfolders of the Parent Folder.

  4. The categorized contents now have a new tab called whatever you have input to CategoryContainer’s Title. There you see to which category the content belongs and can be updated through the page.

TODO

  • Event subsriber when moving categories should be done more clean way. Right now, category which causes hierarchy looping would be deleted when looping happens.

  • Hierarchy level (depth) is not used yet.

  • Category portlet need to be created.

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.categorizing-0.1.1.tar.gz (27.3 kB view details)

Uploaded Source

File details

Details for the file collective.categorizing-0.1.1.tar.gz.

File metadata

File hashes

Hashes for collective.categorizing-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4cb628162d50b6266b5e3858cb2bd5eca2a105c8f02b857b33bcc5f7e5b4aa8f
MD5 79ae76d927c9f3c42e023306378fbe6b
BLAKE2b-256 fd833b67d0975941b8d54ebb9663e57f240d061ab254a844d9db4fec1dba3eed

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