heimrichhannot / contao-news-relocate-bundle
Allow relocating a news article
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.1
- contao/core-bundle: ^4.13 || ^5.0
- contao/news-bundle: ^4.13 || ^5.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
README
This contao extension allows to relocate news articles, e.g. set a replacement article and force a redirect or pagerank transmission.
Install
Install with contao manager or with composer:
composer require heimrichhannot/contao-news-relocate-bundle
Update the database.
Usage
Go to the news article you want to relocate, select the relocate type and provide the relocate url.
Developers
Following events are available:
Footnote
Relocated news are currently not removed from news lists as the hooks to do such things are very limited.
You can filter them in your count and fetch items hook by adding "tl_news.relocate = 'none'"
to the model columns array.