lochmueller/calendarize-news

Add Event options to the news extension

Fund package maintenance!
lochmueller
paypal.me/lochmueller

Installs: 2 116

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 7

Open Issues: 0

Type:typo3-cms-extension

7.0.0 2022-11-04 19:34 UTC

This package is auto-updated.

Last update: 2023-01-29 08:26:13 UTC


README

Build Status Scrutinizer Code Quality

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 #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<path_segment>.+)-(?P<uid>\d+)$'
      routeFieldResult: '{path_segment}-{uid}'
    calendarize_index:
      type: PersistedAliasMapper
      tableName: tx_calendarize_domain_model_index
      routeFieldName: uid