PHP templates
A template is used to output a module, content element, form or other component and contains HTML and PHP code. In the navigation area “Layout” under “Templates” the files can be created, stored in folders and edited. These adjustments are update proof.
Note
Template changes are not necessary if you only need an additional CSS ID or CSS class. For most Contao components, you can enter them in the “Expert settings” section. The corresponding names are taken from the templates and displayed in the source code.
Info
In debug mode, the template names in the HTML source code are displayed as comments, so you can see which template is being used.
Guides
- Customize maintenance template
Customize maintenance template in an update-safe manner - TinyMCE Editor Configuration
Configure the TinyMCE editor for different areas. - Use of SVG files
Practical information on how to include SVG files. - Front end filter implementation
Options for implementing a front end filter - Module Listing
Create a list of members with a Map via the module Listing