mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-08 02:31:35 +02:00
- Remaining Developer Guides and Upgrading - SilverStripe in a namespace or api has not been change - To keep PRs easier no formatting was changed Update merge conflics with two files Update Silverstripe Ltd, Silverstripe Cloud and Silverstripe CMS Silverstripe CMS Ltd > Silverstripe Ltd Silverstripe CMS Platform > Silverstripe Cloud Silverstripe CMS Framework > Silverstripe CMS Resolve merge conflict Remove Framework from Silverstripe CMS Framework - 3 files Change SilverStripe CMS to Silverstripe CMS
1.2 KiB
1.2 KiB
title | summary | introduction | icon |
---|---|---|---|
Templates and Views | This guide showcases the Silverstripe CMS template engine and learn how to build your own themes. | Silverstripe CMS comes with it's own templating engine. This guide walks you through the features of the template engine, how to create custom templates and ways to customise your data output. | file-code |
Most of what will be public on your website comes from template files that are defined in Silverstripe CMS. Either in the core framework, the modules or themes you install, and your own custom templates.
Silverstripe CMS templates are simple text files that have an .ss
extension. They can contain any markup language (e.g HTML,
XML, JSON..) and are processed to add features such as $Var
to output variables and logic controls like
<% if $Var %>
. In this guide we'll look at the syntax of the custom template engine SSViewer and how to render
templates from your controllers.
[CHILDREN Exclude=How_Tos]
How to's
[CHILDREN Folder=How_Tos]