georgringer/news-category-pid-constraint

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

Installs: 58

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0

Type:typo3-cms-extension

pkg:composer/georgringer/news-category-pid-constraint

dev-main 2025-04-15 19:26 UTC

This package is auto-updated.

Last update: 2025-09-15 20:22:03 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
}