Home > Articles > Web Development

  • Print
  • + Share This
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

  • yelllow01.jpg Design and display the Web page you want to create into a static template.
  • yelllow02.jpg Click the File menu, and then click Save As.
  • yelllow03.jpg Type a name for the template.
  • yelllow04.jpg Click the Save as type list arrow, and then click Page Template.

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

  • yelllow05.jpg Click Save.
  • yelllow06.jpg Type the title you want for the template.
  • yelllow07.jpg Type a description for the template.
  • yelllow08.jpg To save the template in the current Web site, select the Save Template in Current Web site check box.
  • yelllow09.jpg Click OK.

Create a Dynamic Template

  • yelllow01.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.
  • yelllow02.jpg Click the File menu, and then click Save As.
  • yelllow03.jpg Type a name for the template.
  • yelllow04.jpg Click the Save as type list arrow, and then click Dynamic Web Template.

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

  • yelllow05.jpg Click Save.

Create Editable Regions for a Dynamic Template

  • yelllow01.jpg Display the Dynamic Web Template you want to change.
  • yelllow02.jpg Select the page area you want to vary from page to page.
  • yelllow03.jpg Click the Format menu, point to Dynamic Web Template, and then click Manage Editable Regions.
  • yelllow04.jpg Type a name for the area you selected.
  • yelllow05.jpg Click Add.
  • yelllow06.jpg Click Close.

    You can repeat Steps 2 through 6 to designate other dynamic areas.

  • + Share This
  • 🔖 Save To Your Account