Overview
Pages that have a similar purpose are grouped into sets and configured together. Pages are configured differently because the content varies based on the page type. For example, person pages are very different from chart pages.
The Layouts Section is divided into subsections, including a Default Layout subsection and one subsection for each Page Set. Values set in the Default Layout subsection appply to all pages except if the user alters the same property in the Page Set-specific subsection.
For each Page Set, the user can customize the Layout, the Static Content properties, and the Page Scripts.
List of Page Sets
Each type of page created by Second Site is assigned to a Page Set as described in the following list.
Name | ID | Description |
---|---|---|
Main Page #1 |
mainpage | Used for index.htm or main.htm, whichever is the main page of the site. |
Surname Index #2 |
surnameindex | Used for the surname index page. |
Person Indexes #3 |
personindexes | Used for the name index pages, including custom name indexes. |
Person Pages #4 |
personpages | Used for person pages. |
Source Pages #5 |
sourcepages | Used for source pages. |
Chart Pages #6 |
chartpages | Used for chart pages, including all the chart types that Second Site makes. Note that the list of charts is not a chart, it's a list and is on a List Page. |
List Pages #7 |
listpages | Used for various lists such as the Master Index, the list of charts, Exhibit Galleries (lists of exhibits), and optionally on Custom Page. |
Image Pages #8 |
imagepages | Used for image exhibit pages. |
User Pages #9 |
userpages | Used for a variety of pages where the user provides most if not all of the content, including Custom Pages, exhibit text pages, and HTML pages that are in the Input folder. |
Place Indexes #10 |
placeindexes | Used for place index pages, including the master place index page and the place index detail pages. |
Custom 1 #11 |
custom1 | The Custom 1 and Custom 2 Page Sets are not the default Page Sets for any pages. They are available as Page Set choices in the Edit Custom Page window and may be used for Custom Pages where you want specific settings without affecting other pages. |
Custom 2 #12 |
custom2 |
Body Element IDs
For users who add User Styles to alter CSS parameters in Second Site, you can use Page Set-specific Body element IDs to restrict CSS rules to a particular Page Set. Second Site adds the IDs expressly for this purpose.
For example, you can change the color of H2 elements in the Main Page content with a Free Form User Style, as follows.
selector-1: #mainpage #content h2 parameters-1: color: #0000ff;
"#mainpage" in the selector limits the rule to pages in the Main Page Page Set, of which there is only one. "#content" limits the rule to the main content setion of the page. "h2" limits the rule to HTML H2 elements only.
One way to understand the selector is to read it backwards: H2 elements inside the content section of the main page.
You can copy the text above and then use the special paste command for User Styles to add it to your SDF file.
This page last changed on 05 Feb 2016.