05.03.2013 Views

User Guide - NetObjects Fusion

User Guide - NetObjects Fusion

User Guide - NetObjects Fusion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 Working with Templates<br />

<strong>NetObjects</strong> <strong>Fusion</strong> opens in Site view and displays the page icons of the site you<br />

created. You can modify the SiteStructure as described in “Working with the<br />

SiteStructure” on page 45.<br />

Using Templates to Expand a Site<br />

One way to expand a site is to insert <strong>NetObjects</strong> <strong>Fusion</strong> templates in a specific<br />

location in your site. Templates are especially helpful if you have standard<br />

boilerplate sections or pages that you want to add to multiple sites. This is also a<br />

great way to share with other developers who use <strong>NetObjects</strong> <strong>Fusion</strong>. See<br />

“Exporting a Site” on page 76.<br />

When you insert a template, follow these guidelines:<br />

• Before you insert the template, select the location in Site view where you want<br />

to add it. The inserted site, page, or section becomes a child of the selected<br />

page. You can move the pages once they are inserted.<br />

• All inserted pages take on the SiteStyle of the current site. For example, if<br />

several developers separately create parts of a site, export their work as<br />

templates, and insert the templates into a single master site for publishing, the<br />

master site’s SiteStyle ensures that the compiled site has a consistent look and<br />

feel. If you save the site as a template, the SiteStyle is saved as well. See<br />

Chapter 19, “Using SiteStyles.”<br />

• When <strong>NetObjects</strong> <strong>Fusion</strong> inserts a template, if the MasterBorder names<br />

duplicate those already in the site, it prefixes the template’s MasterBorders with<br />

Inserted and adds them to the current site’s library of MasterBorders. You can<br />

rename, edit, or delete these extra MasterBorders. See Chapter 10, “Managing<br />

MasterBorders.”<br />

• Every template begins with a single root page, which is helpful if you are<br />

adding the template to your site. However, if you want the root page of your<br />

template to be the Home page of your site, you must create a new site based on<br />

the template, rather than inserting it.<br />

To insert a template:<br />

1. In Site view, right-click the page under which you want to insert the template.<br />

This page becomes the parent of the inserted page or pages.<br />

2. Select Insert Template from the shortcut menu.<br />

75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!