mediamotionag / contao-article-id-optim-bundle
Article CSS-ID Frontend Output Optimization
Installs: 2 520
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: >=5.6.0
- contao/core-bundle: ^4.4 | ^5.0
Requires (Dev)
- contao/manager-plugin: ^2.0
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-11-10 17:56:21 UTC
README
About
In older versions of contao, the article-alias was used as the html-id of the article.
So links could be example.com/page.html#article-id.
In Contao 4.4+ this changed, so only if you define an id in the expert-settings, there is a readable id in the markup/html.
This bundle uses the article alias as css-id, if no id is set in the expert settings, so the fallback is the same as in contao <4.
Installation
Install composer if you haven't already, then enter this command in the main directory of your Contao installation:
composer require mediamotionag/contao-article-id-optim-bundle
Usage
- Install and clear cache
- Enjoy
Contribution
Bug reports and pull requests are welcome