Home > Articles > Web Development > Microsoft Expression Studio

This chapter is from the book

Creating a Page Template

Instead of using one of the built-in page templates that comes with Expression Web, you can create your own. There are two kinds of page templates: static and dynamic. A static template is a Web page you create and design, which is completely editable. After you save a static page template, you can access it in the My Templates tab of the Page Templates dialog box. A dynamic template is a Web page with editable areas like a static template, yet also contains non-editable areas with content that changes based on circumstances, such as actions taken by a user or the date.

Create a Static Template

  • light-yellow-circle1.jpg Design and display the Web page you want to create into a static template.
  • light-yellow-circle2.jpg Click the File menu, and then click Save As.
  • light-yellow-circle3.jpg Type a name for the template.
  • light-yellow-circle4.jpg Click the Save as type list arrow, and then click Page Template (*.tem).

    The folder location changes to the Pages folder, where Expression Web stores page templates.

  • light-yellow-circle5.jpg Click Save.
  • light-yellow-circle6.jpg Type the title you want for the template.
  • light-yellow-circle7.jpg Type a description for the template.
  • light-yellow-circle8.jpg To save the template in the current Web site, select the Save Template in Current Web site check box.
  • light-yellow-circle9.jpg Click OK.
  • light-yellow-circle10.jpg If prompted, click OK to save embed files.

Create a Dynamic Template

  • light-yellow-circle1.jpg Design and display the Web page you want to create into a dynamic template. Be sure to leave areas open to create editable regions.
  • light-yellow-circle2.jpg Click the File menu, and then click Save As.
  • light-yellow-circle3.jpg Type a name for the template.
  • light-yellow-circle4.jpg Click the Save as type list arrow, and then click Dynamic Web Template (*.dwt).

    The folder location changes to the Pages folder, where Expression Web stores page templates.

  • light-yellow-circle5.jpg Click Save.
  • light-yellow-circle6.jpg If prompted, click OK to save embed files.

Create and Work with Editable Regions for a Dynamic Template

  • light-yellow-circle1.jpg Display the Dynamic Web Template you want to change.
  • light-yellow-circle2.jpg Select the page area you want to vary from page to page.
  • light-yellow-circle3.jpg Click the Format menu, point to Dynamic Web Template, and then click Manage Editable Regions.
  • light-yellow-circle4.jpg Type a name for the area you selected.
  • light-yellow-circle5.jpg Click Add.
  • light-yellow-circle6.jpg To rename an editable region. Select the region name, type a new name, and then click Rename.
  • light-yellow-circle7.jpg To remove an editable region. Select the region name, and then click Remove.
  • light-yellow-circle8.jpg Click Close.
  • + Share This
  • 🔖 Save To Your Account