advertisement

Overview

You may add a Pedigree Link item to include a link to the site's Interactive Pedigree chart to the Person Entry. The link will open the Interactive Pedigree chart with the subject set to the subject of the current person entry.

You must add an Interactive Pedigree User Item to your site or the Pedigree Link item will not work. The Pedigree Link item adds a link to the Interactive Pedigree page with parameters that focus it on the current person. If you do not add an Interactive Pedigree User Item to your site, the Pedigree Link item will not add a link to the person entry.

See the Interactive Pedigree chart page for more information.

Properties

Generations

Use the Generations textbox to specify how many generations the chart should contain when linked from the Pedigree Link item. The interactive capability of the chart reduces the need to show many generations. The allowable range is 3 to 5. The default is 3 generations.

The visitor may adjust the number of generations via a pull-down menu above the chart.

Output Type

The Output Type determines the basic appearance of the Pedigree Link in the Person Entry. There are two choices as described below. The default is "Field".

For both Output Type choices, the text of the Pedigree Link is set to the title assigned to the Person Entry item.

Output Type Description
Field A link is added to the Person Entry using the "Field" structure.

The appearance of Fields varies by the Format, but Field items usually have a caption and a value, such as "Last Edited: 18 November 2018". The Pedigree Link item has a value only. For grid-type Formats, the empty caption will produce an empty column value. For list-type formats, the item will be lacking a caption.

Text The link is added to the Person Entry as text.

Styles

You may alter the appearance of Pedigree Links using User Styles. The styles vary according to the Output Type.

Field Styles

When Output Type is set to "Field", the HTML varies according to the Format. GedSite sets multiple styles which you can discover by using an HTML inspector. If you wish to alter the appearance of the Anchor ("A") element only, its CSS class is "gs-pe-ip-field-link".

Text Style

When Output Type is set to "Text", the HTML includes a single Anchor ("A") element with the style set to "gs-pe-ip-text-link". GedSite sets display: block with a small top and bottom margin.

Here is an example User Style you might add to transform a Pedigree Link to look like a button. Start with Output Type set to "Text" and add this User Style via the Copy / Paste User Style method.

 selector-1:
 .gs-pe-ip-text-link, .gs-pe-ip-text-link:link, .gs-pe-ip-text-link:visited, .gs-pe-ip-text-link:hover, .gs-pe-ip-text-link:active

parameters-1: background-color: #369; border-radius: 3px; color: #fff; display: inline-block; font-weight: bold; padding: 4px 6px; text-align: center; text-decoration: none !important;

The selector value above is long and may not be visible in your browser. Make sure you copy the entire text.

On This Page