Embedded Page Objects (Formerly Master Page Objects)

The Embedded Page object is a very useful feature that allows you to re-use objects from a source page in any other web page in your project.

For example, if you have a certain layout that you want to use as the same for all your pages and you don’t want to keep copy/pasting it on all your pages, the Embedded Page tool will help you. You would simply create the layout once on a page we call a source page. Theninsert the Embedded Page Object from that page onto any or all your other page . When you want to update the layout, you would only need to do so once – on the original source page where the content is stored.

Here’s an example you can experiment with:
Step 1
Create a new website, the application will automatically add the first page called index.

Step 2

Insert a new page using the Site Manager and rename it master_page or source_page
Step 4
Switch back to the index page (click on the index tab) and insert an Embedded Page object.
Step 5
Double-click the object you’ve just placed to select the source page you want to use. Next click the Select-button to display the Select Page window and choose master_page from the list.
Click OK to return to the page.

You will notice that the navigation bar of your master_page now has become a part of the index page. If you go back to the master page and you change something in that source page, it will automatically be updated on the index page as well. Of course, this feature is not limited to navigation bars only, you can add any element to the master_page (with exception of forms and layers).

It’s important to place all objects on the master / source page aligned to the left and top border, so you do not have any margins.

In contrast to inline frames (iFrames), when using the Embedded Page object, all objects from that page are merged in the current page as if they are really a part of the page. You must however always edit them in the master/source  page.TIPS:
 The ID property of an object should be unique within the page. Normally, 90 Second Website Builder will give your object unique names automatically. However if you use one of more master pages, then IDs may be duplicated, since the software can not distinguish a master from a normal page. The Properties Inspector also gives you access to more advanced attributes like the ID of an object. This can be useful if you use master pages and want to give the items of the page an unique ID. We recommend you give objects on a master page names with a prefix like MasterPage_Text1. This will make sure that if the page is used in another page, the ID of the objects will be unique.
To check for possible conflicts, please use Menu->Page->Error Reports.

2. The option Use hover state style to indicate the current page in navigation tools will not work in combination with master objects, because there will be only one set of images for that object. The same images will be used on all pages.

3. The master / source page should be in the same folder as the pages that are using it. This is especially important if you are using internal links, because the links will be relative to the master page. So if the page is in another folder, the paths will not valid and you will have errors.

Leave a Comment