Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Usability

  • Print
  • + Share This
Like this article? We recommend

Adjusting the TemplatesInfo.plist File to Include Additional Templates

We’ll get to actually creating the new template files in a moment. First, let’s talk about the TemplateInfo.plist file. This is an XML file that specifies the various template types as well as the various themes and tells iWeb where the files for each template are located. You can open it up by using a text editor (such as Apple’s TextEdit) or by using Apple’s Property List Editor (located in the Utilities folder inside the Applications folder). Figure 1 and Figure 2 illustrate how the file will look depending on which of the two you use.

Figure 1

Figure 1 TemplatesInfo.plist opened with TextEdit

Figure 2

Figure 2 TemplatesInfo.plist opened with Property List Editor

Whichever method you use to open the file, you’ll notice a series of key entries with child key entries. The primary four key entries are Categories, Default Group, Sorted Group, and Sorted Themes. Of these, you need to worry only about the Categories and Sorted Themes keys. Default Group simply specifies that the Welcome page is the default page first displayed for each theme. Sorted Group identifies the various types of pages, how they are named, and the order in which they are displayed in the New Page dialog box.

  • + Share This
  • 🔖 Save To Your Account