Chapter 4. Create child page


Introduction

With this tool you can make child pages very quickly.
1. For starters, make in an automatic mode only one child page the way it is described below in this chapter. That's it, you won't need the tool for this project any more.
2. Then, in the main Editor window, edit the code until you (and your client) are absolutely happy with the result. This will be your child page template for the project.
3. Create somewhere (e.g. in My Documents) a new folder for your project, give it a name, say, Client_John's_Website.
4. Using Save As button (File > Save As), start multiplying the pages every time changing only titles, headings and giving individual file names according to the ones from the navigation bar of your index page, created in Chapter 3: About.html, Download.html, Screenshots.html, FAQ.html etc.
You'll spend only twenty seconds on one file!
All these files you are saving in the project folder Client_John's_Website which will contain of course everything else related to the project - index page, images, sound, video, animation files etc.
5. So the "boxes" are ready, now it's time to start packaging, i.e. filling the child pages in with some contents. The contents is passed to you by the client or written by a text writer employed by you etc. You can delegate these routine work of "packing" to your assistants, secretary or subcontractor.

The location of the tool

Child pages are created by the tool called Child page options dialog:
CreateSatellite menu > Make child page > Child page options.
Area 1 is the same as area 1 described in the previous chapter, except that here the "keywords" and "description" boxes are removed, and also Apply and Quit buttons are moved to the top of the area.
You already know how to fill in this section, so it will not be covered again.
Absolutely the same must be said about area 2, it is like area 3 described in the previous chapter (i.e. for entering codes into the body area). For this reason it will not be covered here as well.
The code which will be created by this dialog, is very basic, just for you to build upon it.
The title which you enter, will be repeated (above horizontal ruler) as the heading of the page and several break tags will be applied.
At the bottom there is a hyperlink to the home (index) page.
You can edit all these as you wish in the main Editor area afterwards.
You will create child pages one by one, then saving them with the names which you gave to them creating your index page (Chapter 3).
Again like was said at the end of Chapter 3, you may choose not to use here area 2 whatsoever, and instead prefer coding in the main Editor window afterwards.



Method 1. Apply without filling in any areas whatsoever

According to this method, open Child page options dialog and at once press the Apply button without filling in a single box of the dialog. The dialog will be instantly closed, and you find yourself in the main window of the Editor containing the newly created code (a template) of the child page .
Yes, the functions are empty (no values between quotation marks), but there is the module of the page:



Press the Test button and see:



The page is already formatted for you: there is the hyperlink to the index page, horizontal ruler, but there is neither title, nor heading.
Under Method 1, the only thing to do now is to enter values between quotation marks and to enter contents into the body area manually, like you did in Chapter1. It's a very robust and practical method!

Method 2. Filling in textboxes of the dialog

That's how area 1 is looking after filling in. Hex color codes were entered in two boxes:



That's how area 2 is looking after filling in (font formatting code was entered manually):



This is how the code is looking after Apply button was pressed:



Continuation:


This is what we can view in browser after Test button was pressed:
Title is repeated as the heading.
There is a horizontal ruler under the heading.
There is a link to index page at the bottom.
Unlike on homepage, there is no navigation bar here.




<--- To Contents

594