This bundle contains Item classes for list and reader bundle for better support for the contao news entity.
- list item class for news
- reader item class for news
- can be used with one or both of these bundles
Install with composer or Contao Manager
composer require heimrichhannot/contao-news-list-reader-bundle
- Create or Edit a list or reader config and select NewsListItem/NewsReaderItem as item class
- You can use one of the provided news_* templates.
You can usee the NewsItemTrait
to add news specific list/reader field to your custom item class.