heimrichhannot / contao-news-list-reader-bundle
This bundle enhances the support of list and reader bundle for the contao news entity.
Installs: 1 966
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^4.13.46
- contao/news-bundle: ^4.13
- heimrichhannot/contao-head-bundle: ^1.11
- symfony/event-dispatcher: ^4.4 || ^5.4
Suggests
- heimrichhannot/contao-list-bundle: This bundle offers a generic list module to use with arbitrary contao entities containing standard list handling like pagination, sorting, and filtering.
- heimrichhannot/contao-reader-bundle: This bundle offers a generic reader module to use with arbitrary contao entities containing standard reader specific functionality like field output, images and auto_item handling.
README
This bundle contains Item classes for list and reader bundle for better support for the contao news entity.
Features
- list item class for news
- reader item class for news
- can be used with one or both of these bundles
Usage
Install
Install with composer or Contao Manager
composer require heimrichhannot/contao-news-list-reader-bundle
Setup
- Create or Edit a list or reader config and select NewsListItem/NewsReaderItem as item class
- You can use one of the provided news_* templates.
Developers
Custom Item classes
You can usee the NewsItemTrait
to add news specific list/reader field to your custom item class.