Sitefinity CMS

Working with Templates Send comments on this topic.
See Also
Designing with Sitefinity > Page Templates > Working with Templates

Glossary Item Box

Sitefinity templates define the structure and organization of the place-holders on a web page. For example, the template for the page shown here defines three content areas. The developer can choose the controls to place in each content area on any given page, so that two pages using the same template can have a very different appearance.

 

Sitefinity templates logically relate a master page to web pages. One master page can be used by many templates, and one template can be used by many web pages. Unlike master pages, templates can be directly edited within Sitefinity (see Figure 1).

Master Page Result

 Figure 1

Sitefinity templates define the structure and organization of the place-holders on a Web page. For example, the template for the page shown here defines three content areas. The developer can choose the controls to place in each content area on any given page, so that two pages using the same template can have a very different appearance.

 

Sitefinity templates logically relate a master page to Web pages. One master page can be used by many templates, and one template can be used by many Web pages. Unlike master pages, templates can be directly edited within Sitefinity.

At least one Master page is needed in order to create a new template. For more information, see Creating and Importing Master Pages.

 

Create a Template

  1. In Sitefinity, go to the Templates subsection of the Pages section.
  2. Click Upload Master Page. (See Figure 2)Uploading a Master Page Figure 2

     

  3. Enter the template name: "Menu, Top, Bottom".

  4. Use Select to browse to the master page file.

  5. Click Upload Master Page.

 

Apply a Template

  1. Navigate to the Site Map subsection of the Pages section.
  2. Create a new Page.
  3. Open the Page for editing and select the template from the dropdown list.

 

 

See Also