Skip to main content

Faceted navigation view for collective.contact.core directory

Project description

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.

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

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.

Tests

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

https://secure.travis-ci.org/collective/collective.contact.facetednav.png

Contributors

Changelog

1.1.4 (2016-01-26)

  • Check link integrity in remove selection action. [cedricmessiant]

1.1.3 (2015-06-02)

  • Display full title of organizations instead of title on preview-organization.pt [cedricmessiant]

  • Fix KeyError in preview-heldposition.pt [cedricmessiant]

1.1.2 (2015-04-03)

  • Force no caching in ajax requests (fix bug with Internet Explorer). [cedricmessiant]

  • Trigger events when selecting/unselecting all. [cedricmessiant]

  • Use a ‘rendercheckboxes’ namespace when registering Faceted.Events.AJAX_QUERY_SUCCESS callback, so we can unbind it from an other module. [vincentfretin]

1.1.1 (2014-09-15)

  • Fix conditional viewlet manager to really check that viewlets are available. [cedricmessiant]

  • We can create a held_position from the faceted navigation view. [thomasdesvenain]

  • Added ‘multiple_selection’ option on batch action : the action is available when more than one content is selected. [thomasdesvenain]

  • Works with collective.excelexport 1.1. [thomasdesvenain]

1.1 (2014-06-16)

  • WARNING: remove auto-include. [thomasdesvenain]

  • Display a link to create a new person or organization. Name is pre-filled with text search. [thomasdesvenain]

  • Add an optional and pluggable system to provide actions and batch actions on contacts faceted navigation. with two examples of batch actions : delete and export (when collective.excelexport installed) and two actions: delete and edit. [thomasdesvenain]

  • Display for held positions. [thomasdesvenain]

1.0 (2014-03-11)

  • Do not declare navigable behavior - depends on eea.facetednavigation >= 5.8. [thomasdesvenain]

  • Manage case users have uploaded non-image formats for logo or photo. [thomasdesvenain]

  • In faceted search results for person, display held positions phones and emails if the person doesn’t have phone and email (if person content type doesn’t have IContactDetails behavior, held_position should). [cedricmessiant]

  • Add alphabetic criterion to faceted config example. [cedricmessiant]

  • Add some style to faceted navigation results. [cedricmessiant]

  • Add macros to customize faceted navigation results. [cedricmessiant]

  • Fix bug with held position phone and email in preview-* templates. [cedricmessiant]

0.10 (2013-11-04)

  • Works when contact doesn’t have contact details and when held position does.

0.9 (2013-09-25)

  • Initial release. [thomasdesvenain]

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.contact.facetednav-1.1.4.tar.gz (33.3 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