Building design templates - place holders

Place holders are best described using an example. See snippet below.

<body>
{[Extension]}
</body>
The code above is a snippet from an existing design template's body section. In the example we define the place holder Extension, which will be replaced by the main extension running. This is all we have to do, to let Sitemagic CMS insert data into our design template. Note that place holders are case sensitive.

List of known place holders

The table below lists the default place holders. Each place holder should be surrounded with {[]}.

 Place holder
Description
Title
Usually used between the <title></title> tags. The place holder will be replaced with the title of the current page being displayed
Extension Will be replaced by the content for the content area of the website (extensions and content pages)
SMLogin Access Will be replaced with the value "Admin" if user has logged in, otherwise "Public". This value may be used to create dynamic styles, allowing the website to change ie width of certain elements when logged in, or execute some JavaScript.
RequestId This place holder is replaced by a new GUID on every page load or post back. This is very useful to disable caching for JavaScript and CSS files - example: <script src="file.js?{[RequestId]}"></script>