Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- routeEnhancers:
- News:
- type: Extbase
- extension: News
- plugin: Pi1
- routes:
- -
- routePath: /
- _controller: 'News::list'
- -
- routePath: '/{page-label}-{page}'
- _controller: 'News::list'
- _arguments:
- page: currentPage
- -
- routePath: '/{news-title}'
- _controller: 'News::detail'
- _arguments:
- news-title: news
- -
- routePath: '/cat/{category-name}'
- _controller: 'News::list'
- _arguments:
- category-name: overwriteDemand/categories
- -
- routePath: '/tag/{tag-name}'
- _controller: 'News::list'
- _arguments:
- tag-name: overwriteDemand/tags
- defaultController: 'News::list'
- defaults:
- page: '0'
- requirements:
- page: \d+
- aspects:
- news-title:
- type: PersistedAliasMapper
- tableName: tx_news_domain_model_news
- routeFieldName: path_segment
- page:
- type: StaticRangeMapper
- start: '1'
- end: '100'
- category-name:
- type: PersistedAliasMapper
- tableName: sys_category
- routeFieldName: slug
- tag-name:
- type: PersistedAliasMapper
- tableName: tx_news_domain_model_tag
- routeFieldName: slug
- page-label:
- type: LocaleModifier
- default: page
- localeMap:
- -
- locale: 'de_DE.*'
- value: seite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement