When you create a template for others to use on your site, imagine the text that needs to change whenever the template is used, which should display in a consistent format.
For example, in a module template, you may want to always show the module's title, code and tutor at the top of the first page. You can help maintain this consistency by using replaceable text in your template. When someone creates a page (or set of pages) from your template, the replaceable text in your template is replaced by new text entered by the person creating the page.
- Browse to the site containing your template.
- Go to Edit > More > Current site tab. (You need edit or admin permissions on your site's home page to do this.)
Select the template you wish to edit, then select the Edit button:
- The SiteBuilder banner changes to green, denoting the transition to the template editor.
- Select Edit replaceable text.
- Select the Create replaceable text button.
In the Site templates pop-up, enter the text to replace. All instances of this text in the template will be replaced by a term entered by the page editor. To avoid unintended replacements, use a unique term – for example:
Enter brief instructions to website editors – for example:
Enter your module code
- Specify whether you want the replaceable text to be case sensitive or not.
Specify whether you want to replace instances of the text in the page content and page properties (headings, title bar captions, link captions, descriptions and keywords) – or the page content only.
- Select the Save button.
Continue to add more replaceable text as required (e.g. module title and module tutor).
- When you've finished, select the Done button at the top right.
Once you make your template visible in the template gallery, it's available for other people to choose when they create a page on your site. When someone selects your template from the gallery, they see an extra field for each piece of replaceable text alongside the instructions you specified.
Email webteam at warwick dot ac dot uk
How to report a problem