This document contains information about a future release and not the current stable version (4). Be aware that information on this page may change and API's may not be stable for production use.
Most of what will be public on your website comes from template files that are defined in SilverStripe. Either in the core framework, the modules or themes you install, and your own custom templates.
SilverStripe templates are simple text files that have
.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.
A look at the operations, variables and language controls you can use within templates.
Some of the common variables and methods your templates can use, including Menu, SiteConfig, and more.
Call and render SilverStripe templates manually.
Override and extend module and core markup templates from your application code.
What makes up a SilverStripe Theme. How to install one or write your own theme.
Reduce rendering time with cached templates and understand the limitations of the ViewableData object caching.
Definition of the syntax for writing i18n compatible templates.
Information on casting, security, modifying data before it's displayed to the user and how to format data within the template.