- Using the Duplicate Page Command to Create Pseudo-Templates
- Purchasing Additional Ready-Made Themes
- Getting Ready to Create Your Own Themes
- Opening the iWeb Package and Locating the Templates Folder
- Adjusting the TemplatesInfo.plist File to Include Additional Templates
- Adding a New Category Entry
- Opening the Templates Files
- Creating Your Own Template Graphics
- Modifying Template Formatting
- Locating Items in the Index.xml File
- Creating Template Previews
- More Information
- Additional Resources
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 TemplatesInfo.plist opened with TextEdit
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.