inspiredminds / contao-unified-news-aliases
Contao extension to allow to use the same news alias for different news articles of different languages.
Fund package maintenance!
fritzmg
Installs: 83
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Type:contao-bundle
Requires
- php: ^7.2 || ^8.0
- contao/core-bundle: ^4.9
- contao/news-bundle: ^4.9
- symfony/dependency-injection: ^4.4 || ^5.2
- symfony/event-dispatcher: ^4.4 || ^5.2
- symfony/http-kernel: ^4.4 || ^5.2
- terminal42/contao-changelanguage: ^3.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
README
Contao Unified News Aliases
This Contao extensions allows you to use the same news alias for the same news article translated into different languages.
In Contao, each and every news article must have a unique alias. However there are use cases where you might want to use the same alias for translated news articles. This extension allows you to always use the alias of the main news archive in the front end.
Note: this extension does not actually allow you to save duplicate aliases in the back end. The extension only affects the news URLs of news modules in the front end and provides an additional newsreader module.
Usage
Assuming that the language settings of your news archives are already properly set up there are only two steps necessary to use the functionality of this extension:
- Enable the unified aliases in the language settings of your main news archive.
- Use the Newsreader for unified aliases module instead of the regular newsreader module.
Attributions
Development funded by interAKTIV.net GmbH.