This module decorates pages with configurable fields to filter them by. Handy for newsitems & blogs, etc.
This module decorates pages with configurable fields to filter them by. Handy for newsitems & blogs, etc.
Filter items via dropdowns by date (paginated).
composer require micschk/silverstripe-filterablearchive dev-master
Then add the decorators & criteria (todo) which you want to filter by to config.yml:
---
name: 'filterablearchiveextensions'
---
NewsHolder:
extensions:
- 'FilterableArchiveHolderExtension'
pagination_control_tab: "Root.Subpages" # name of tab for pagination settings, defaults to "Root.Main"
pagination_insert_before: "Subpages" # optional, set position of tab
managed_object_class: "NewsItem"
managed_object_date_field: "Date"
NewsHolder_Controller:
extensions:
- 'FilterableArchiveHolder_ControllerExtension'
NewsItem_Controller:
extensions:
- 'FilterableArchiveItemExtension'
Newsgrid module (manage newsitems from a gridfield), applies this module
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem