georgringer / news-category-pid-constraint
Check if record is allowed on current page by comparing current page to category category
Package info
github.com/georgringer/news_category_pid_constraint
Type:typo3-cms-extension
pkg:composer/georgringer/news-category-pid-constraint
Fund package maintenance!
Requires
- georgringer/news: ^11
- typo3/cms-core: ^12.4
This package is auto-updated.
Last update: 2026-02-15 21:12:41 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
}