mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
34f5004b26
The method of including a Layout template into a full template file isn't documented, and isn't intuitive especially if you have come from the SS3 way of doing it via $this->customise($data)->renderWith(['MyCustomTemplate', 'Page']); Adding this as an example will help people add layout templates to Controller actions, and form responses where a custom layout needs to inherit it's parent template. |
||
---|---|---|
.. | ||
How_Tos | ||
01_Syntax.md | ||
02_Common_Variables.md | ||
03_Requirements.md | ||
04_Rendering_Templates.md | ||
05_Template_Inheritance.md | ||
06_Themes.md | ||
07_Caching.md | ||
08_Translations.md | ||
09_Casting.md | ||
10_Unique_Keys.md | ||
index.md |