# EXT:calendarize_news [![Build Status](https://travis-ci.org/lochmueller/calendarize_news.svg?branch=master)](https://travis-ci.org/lochmueller/calendarize_news) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/lochmueller/calendarize_news/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lochmueller/calendarize_news/?branch=master) ## Configuration Please set the news default PID "plugin.tx_news.settings.defaultDetailPid" or set the Detail page ID in the calendarize Plugin configuration! ## Routing configuration example Based on this issue https://github.com/lochmueller/calendarize_news/issues/30 NewsDetail: type: Extbase extension: News plugin: Pi1 routes: - routePath: '/{news_title}' _controller: 'News::detail' _arguments: news_title: news - routePath: '/{news_title}-{index}' _controller: 'News::detail' _arguments: news_title: news calendarize_index: index defaultController: 'News::detail' aspects: news_title: type: PersistedPatternMapper tableName: tx_news_domain_model_news routeFieldPattern: '^(?P.+)-(?P\d+)$' routeFieldResult: '{path_segment}-{uid}' calendarize_index: type: PersistedAliasMapper tableName: tx_calendarize_domain_model_index routeFieldName: uid