Templates
Page/Block Templates
Templates allow you to define and select the layout of your pages and blocks.
General usage
By default, the blocks and pages have its own templates. You can create your own templates and use it in specific blocks or pages.
Creating a new template
Go to the
config/packages/cms_plugin.yaml
file.Define your templates in following format:
Create a new template file. For example,
templates/bundles/SyliusCMSPlugin/Shop/MyPage/template.twig
.Go to the Block/Page form and select your template from the list.
Last updated
Was this helpful?