Skip to content

collective/collective.contact.facetednav

Repository files navigation

collective.contact.facetednav

This add-on is part of the collective.contact.* suite. For an overview and a demo of these suite, see collective.contact.demo.

Faceted navigation view for collective.contact.core directory.

Read eea.facetednavigation and collective.contact.core documentation for more information about those amazing products.

This faceted navigation has a pluggable and optional feature that allows user to apply actions to contacts and batch actions to select contacts. You have to "Enable actions" on directory actions.

By default, you have a "delete" action (with selection) and an "edit" action. If you have installed collective.excelexport, you also have an excel export button.

You can add new actions, adding viewlets to collective.contact.facetednav.batchactions viewlet manager (collective.contact.facetednav.batchactions.manager.IBatchActions interface) and to collective.contact.facetednav.actions manager (collective.contact.facetednav.batchactions.manager.IActions interface) You have to write the javascript code to handle it. See collective.contact.facetednav.browser.actions.base abstract classes for more documentation.

Some api will help you to handle the list of selected contents uids and pathes. Use delete action as a model.

You can set the maximum value of selectable items. Set for instance in your custom javascript:

contactfacetednav.SELECT_ALL_MAX = 1000;

Installation

  • Add collective.contact.facetednav to your eggs.
  • Add collective.contact.facetednav to your zcml. #It is not auto included#.
  • Re-run buildout.
  • Install the product in your plone site.

If you don't want all default features, include only minimal.zcml file and the files you want in configure.zcml.

Translations

This product has been translated into

  • German.
  • Spanish.
  • French.
  • Italian.
  • Slovenian.

You can contribute for any message missing or other new languages, join us at Plone Collective Team into Transifex.net service with all world Plone translators community.

Contribute

Have an idea? Found a bug? Let us know by opening a ticket.

Tests

This add-on is tested using Travis CI. The current status of the add-on is :

image

image

License

The project is licensed under the GPLv2.