markocupic / custom-section
Contao frontend module. Add content to your layout via a template.
Package info
github.com/markocupic/custom-section
Type:contao-bundle
pkg:composer/markocupic/custom-section
1.3.0
2026-10-10 11:37 UTC
Requires
- php: ^8.2
- contao/core-bundle: ^5.3 || ^6.0
- doctrine/dbal: ^3.6 || ^4.0
- symfony/config: ^6.4 || ^7.0 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.0 || ^8.0
- symfony/http-foundation: ^6.4 || ^7.0 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.0 || ^8.0
Requires (Dev)
- contao/manager-plugin: ^2.12
- contao/test-case: ^5.3 || ^6.0
Suggests
None
Provides
None
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
Replaces
None
README
Contao Custom Section
This bundle provides a Contao frontend module, that allows you to add content to your layout using a Twig template.
Requirements
- PHP ^8.2
- Contao ^5.3 || ^6.0
Usage
Create a template mod_custom_section_*.html.twig and select it in the module settings (field "custom template").
The key-value pairs of the "data" field are available in the template as data, e.g. {{ data.my_key }}.
Contao 6 no longer supports .html5 templates.
