Theme Builder
Page background information
Theme information
- PageTypes: a page is assigned to a page type, each page type is assigned to a layout
- Layouts: the structure of the page in containers/page blocks
- Collections: a sub-layout that can be re-used in a layout
- Containers: element used to determine the structure of a layout
- Blocks: element used to render specific content for the page
The theme configuration is saved in yaml config files. These files are used to update the pages based on the configuration. These files are located here:
- PageTypes:
src/Theme/Default/config/page_types.yml - Collections:
src/Theme/Default/config/collections.yml - Layout:
src/Theme/Default/config/layout.yml
The default configuration for blocks/containers is also configured in yaml files.
These are located in the w3media framework directory:
vendor/w3media/framework/src/Bundle/Theme/Theme
Theme builder
The theme builder is used to update the yaml configuration files via UI.
URL: http://www.<project>.php73.cms/admin/themes (opens new window)
WARNING
If you change something in the themebuilder, the changes are saved in the yaml files like described above. You need to refresh your code editor to see the yaml file changes
DANGER
You always need to commit the yaml changes, these changes also needs to be applied in the production environment.