contao / mobile-page-layout-bundle
Adds a mobile page layout to Contao 4
Fund package maintenance!
to.contao.org/donate
Installs: 2 443
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 6
Forks: 2
Type:contao-bundle
Requires
- php: ^7.2 || ^8.0
- contao/core-bundle: ^4.9
- symfony/http-kernel: ^4.4 || ^5.4
Requires (Dev)
- contao/manager-plugin: ^2.3.1
- contao/test-case: ^2.0
- friendsofphp/php-cs-fixer: ^2.12
- php-http/guzzle6-adapter: ^1.1
- phpunit/phpunit: ^7.0
- symfony/phpunit-bridge: ^3.4.5
README
The mobile page layout bundle allows you to have a different page layout for mobile devices.
Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the project website for more information.
Important note
It is not recommended to use this bundle. It exists mainly for backwards compatibility reasons. Using a separate page layout based on the client's user agent header is discouraged. Use CSS media queries and JavaScript instead.
If you enable the mobile page layout, it is possible that the same URL shows
different content. Thus, a shared cache cannot be used. This bundle
therefore overrides your shared page cache settings and always sets the
Cache-Control
header to private
.
License
Contao is licensed under the terms of the LGPLv3.
Getting support
Visit the support page to learn about the available support options.