Overview
A SubPage is a User Item that groups other User Items. The SubPage entry creates a link, and the link opens a page with links to the other User Items. A SubPage can contain any type of User Item, including other SubPages. The Heading, Icon Description, Picture, Text and List Type User Items are provided specifically to add content and organize User Items on SubPages.
SubPages are members of the List Pages Page Set because they are primarily used to create lists of related User Items. They may be used to create content in their own right and thus might be used in some cases as substitutes for Custom Pages.
Edit SubPage
The Edit SubPage window controls the properties associated with a SubPage.
Title
Enter the text that will appear in the menu or on the parent SubPage where this SubPage appears.
Filename
The Filename property sets the filename for the SubPage. Enter the filename only; Second Site determines the filetype based on other program settings. Second Site proposes a filename for new pages; accept that name or provide a more descriptive one.
Menu
See Menu on the User Items page.
Button Image
See Button Image on the User Items page.
Enabled
See Enabled on the User Items page.
Description
See Description on the User Items page.
Extra Content
The Extra Content textbox controls the contents of the Extra Content section of the SubPage. Provide whatever content you wish. Use the Edit Window to edit long text values.
You may include script statements in the Extra Content textbox.
Adding Items to SubPages
When you add a SubPage to your site, the SubPage will start with no content. To make it useful, you need to add other User Items to it. You may add any User Items you wish. Which User Items you add are based on your goal. The Examples section on this page lists some possible goals and which User Items might be added to achieve them.
You add User Items to a SubPage by moving them beneath the SubPage item and indenting them. When a User Item is indented beneath a SubPage User Item, it is said to be in, on or contained by the SubPage. User Items may also be described as nested in a SubPage. All those phrases indicate that the User Item has been added to the SubPage, and the User Item will appear indented beneath the SubPage on the list of User Items.
To add the first User Item to a SubPage, move it directly beneath the SubPage Item if it is not there already. You can use the [Up] and [Down] buttons beneath the User Items list to move User Items, or you can use drag-and-drop.
Once the first User Item for the SubPage is directly beneath the SubPage, use the [Right] button to move the User Item into the SubPage. Clicking [Right] will indent the User Item to indicate that the User Item is on the SubPage.
Once a SubPage contains at least one User Item, you can use drag-and-drop to add other items to the SubPage. You can also add more User Items to the SubPage using the [Right] button: when a User Item is directly below the last User Item in a SubPage, click [Right] and the User Item will be added to the SubPag as the last item in it.
You can use the [Left] button to move a User Item out of a SubPage, but only when a User Item is the last User Item in a SubPage. You can also use drag-and-drop to move a User Item out of a SubPage.
Examples
The examples in this section describe a few different ways you might use SubPages. The brief list below describes why you might do so, and the sections that follow describe how.
Please note that links in the examples will not lead anywhere useful. They show how the output pages might look but are not functional.
- Add a page with a list of charts
- Using a SubPage to contain a list of charts is a common goal and one of the better ways to organize charts.
- Add a page with a list of links to people on the site
- Using a SubPage to contain a list of Person Link User Items is an easy way to build a list of "notable ancestors."
- Add a page with a mix of User Items
- Your site may include charts, Custom Pages, and Person Links that are related to a specific family or geographical area. If so, you can group them on a SubPage, which will emphasize the logical connection between them.
The examples below show how to arrange the User Items to achieve the desired result. The steps used to arrange the User Items are not described here. For details about how to move User Items into SubPages, see the Adding Items to SubPages section earlier in this document.
A List of Charts
- Charts
- Descendants of William Smith
- Descendants of John Jones
- Pedigree of John Doe
The diagram shows a SubPage named "Charts" with three nested chart User Items: two Descendant Charts and one Pedigree Chart. That arrangement would create a page with a list of three links, one link per chart. Chart User Items create charts, and the presence of the charts on the SubPage would add links to those charts to the SubPage. The contents of the resulting SubPage would be similar to the following:
A List Of Links To People
- Notable Ancestors
- William Smith
- John Jones
- Phineas J. Whoopee
The diagram shows a SubPage named "Notable Ancestors" with three nested Person Link User Items. That arrangement would create a page with a list of three links, one link per person. Person Link User Items create links to people on the site, and the presence of the Person Links on the SubPage would add those links on the SubPage. The contents of the resulting SubPage would be similar to the following:
If the Person Link User Items had descriptions, the contents of the resulting SubPage might be similar to the following:
- William Smith — The earliest known progenitor of our branch of the Smith family
- John Jones — Arrived from Wales in 1880 and quickly amassed a fortune in the bicycle business
- Phineas J. Whoopee — A friendly professor who helped some of our recent ancestors cope with adversity
A Mix of User Items
- Families
- Smith Family
- William Smith
- Descendants of William Smith
- Jones Family
- John Jones
- Descendants of John Jones
The diagram shows a SubPage named "Families" with six nested User Items. The User Items include items from previous examples as well as Heading User Items to separate the items into two groups. The contents of the resulting SubPage would be similar to the following:
Smith Family
- William Smith — The earliest known progenitor of our branch of the Smith family
- Descendants of William Smith
Jones Family
- John Jones — Arrived from Wales in 1880 and quickly amassed a fortune in the bicycle business
- Descendants of John Jones
List Management
Second Site automatically detects where lists start and stop based on the sequence of User Items. In the Mix of User Items example above:
- The presence of the "William Smith" Person Link triggers Second Site to open the first list on the output page and add the first item to it.
- The "Descendants of William Smith" Descendant Chart adds another entry to the first list.
- The "Jones Family" Heading triggers Second Site to close the first list. The Heading is not part of the first list; it stands on its own.
- The presence of the "John Jones" Person Link triggers Second Site to open the second list on the output page and add the first item to it.
- The "Descendants of John Jones" Descendant Chart adds another entry to the second list.
- If there is an open list when there are no further User Items on a SubPage, Second Site will close the list. That is the case in this example.
Table Management
Similar to List Management as described above, Second Site automatically detects where tables start and stop based on the sequence of Table Row User Items and Icon Description User Items.
If Table Row and Icon Description User Items are intermixed, Second Site will not put them in the same table. They are considered different types of content even though both are rendered using HTML tables.
