One of the features of Recite CMS is that when a user tries to create a new template they can base their template on one of the sample templates that may be available. It is good practice when creating a new container rule driver to define at least one sample template.
You can do this by creating any number of templates in the ./templates/samples
directory within the container rule. Each sample must have the extension .tpl
.
You can then define a description that will appear with the sample in the Recite CMS Control Panel
by creating a text file with the same name as the template (but with an extension of .txt
instead of .tpl
). This text file should contain a short sentence about what the
template does.
For example, if you create a sample called weather-display.tpl
, you might
create a file called weather-display.txt
which contains the text
Outputs the weather for the chosen location
.