georgringer/news-category-pid-constraint

Check if record is allowed on current page by comparing current page to category category

dev-main 2022-07-04 11:37 UTC

This package is auto-updated.

Last update: 2022-09-04 12:00:11 UTC


README

This extension avoids duplicate content usage if the setting Single-view page for news from this category of a news category is used.

Furthermore this extension can be used as example to implement an event listener (TYPO3 11) or Signal Slots (TYPO3 10).

Requirements:

  • Every category got its dedicated detail page
  • TYPO3 10/11
  • EXT:news 9

Usage

Install with composer req georgringer/news-category-pid-constraint.

Configuration

With the following configuration a page not found error is shown instead of letting ext:news and its error handling decide what to do:

plugin.tx_news.settings {
    news_category_pid_constraint.pageNotFoundError = 1
}