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.

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ftw.contentnav-1.0.2.tar.gz (15.6 kB) Copy SHA256 hash SHA256 Source None Feb 28, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page