Skip to main content

Provides a content navigation behavior, which allows you to show sub content by category.

Project description

Introduction

Provides a content navigation behavior, which allows you to show sub content by category.

Compatibility

Plone 4.3.x

Installation

  • Add the package to your buildout configuration:

[instance]
eggs +=
    ...
    ftw.contentnav
  • Install the generic import profile.

Usage

The contentnav listing viewlet is registered for all Dexterity-Types. It shows categorized subcontent, within the context

The ftw.contentnav categorisation behavior extends your DX content by the functionality to add categories in the edit-view

You can simply add the contentnav categorisation behavior to your content by adding the following line to FTI:

<property name="behaviors">
    <element value="ftw.contentnav.behaviors.content_categories.IContentCategories" />
</property>

Development

Python:

  1. Fork this repo

  2. Clone your fork

  3. Shell: ln -s development.cfg buidlout.cfg

  4. Shell: python boostrap.py

  5. Shell: bin/buildout

Run bin/test to test your changes.

Or start an instance by running bin/instance fg.

Changelog

1.0.2 (2017-02-28)

  • Strip duplicates when adding new categories through the edit form. [mbaechtold]

1.0.1 (2016-09-26)

  • Fix chameleon support. [jone]

1.0.0 (2016-09-26)

  • 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

ftw.contentnav-1.0.2.tar.gz (15.6 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