georgringer / news-category-pid-constraint
Check if record is allowed on current page by comparing current page to category category
Fund package maintenance!
georgringer
paypal.me/GeorgRinger/10
www.amazon.de/hz/wishlist/ls/8F573K08TSDG
Patreon
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Type:typo3-cms-extension
Requires
- georgringer/news: ^9
- typo3/cms-core: ^10.4 || ^11
This package is auto-updated.
Last update: 2024-11-04 16:43: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
}