vonheldenundgestalten/contao-basic
最新稳定版本:5.3.3
Composer 安装命令:
composer require vonheldenundgestalten/contao-basic
包简介
Basic stylings for all VHUG projects (for Contao 4.x)
README 文档
README
Basic stylings and logic for every client project (Contao 4.9+)
contents
- setting basic video parameters in DCA, aspect ratio set to 16:9 if nothing else was selected
- adding basic CSS including reset logic for all projects
- adding CSS for basic layout and responsive behaviour on video and map elements (based on aspect ratio)
- adding CSS for imprint and privacy pages (requires page class privacy and content class dsgvo21 on the mandatory info block to object direct advertising and data collection)
All logic is compatible with the bundle contao-privacy and includes not only the element style, but also the responsive styling for the privacy overlay.
additional instructions
To set the aspect ratio to the basic 16:9 on existing video elements this query directly on the DB helps. Only needed once, for example after a Contao upgrade from 4.4:
UPDATE `tl_content` SET playerAspect = '16:9' WHERE (`type` LIKE 'youtube' OR type LIKE 'vimeo') and (playerAspect = 'none' OR playerAspect = '')
统计信息
- 总下载量: 480
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-23