The personal details of our ancestors lives transform their genealogy into a family history.
In TNG, these details of biographical or historical interest can be added to the an individual person’s page through addition of custom event types.
From the Edit view of the person’s page, the administrator can create Events under “Other Events”. In the “Detail” field, text can be directly quoted from a source . The source can be attached to the Event.
This method displays the content of the Detail field to the right of the Event, while the Source is placed as a footnote near the bottom of the page.
One caveat to the default TNG page design is that addition of an Other Event Place to the Google Map includes duplication of the Details field for that Event in the map legend.
Since the map legend is a narrow column to the right of the Google Map, these duplicated Details become condensed into short lines of distracting and difficult to read wrapped text.
To remove the duplicated Event Details from the Google Map area, one line of code can be disabled in the getperson. php file.
Find the line:
if($description) $persontext .= " - $description";
and replace it with:
// next line removed to disable mapped Event Details display
// if($description) $persontext .= " - $description";
To further cleanup the Map Legend, the Place name can be pushed down to the next line with a page break by modifying the next line of code:
$persontext .= " - $dateforeventtable - $place</span></td>\n";
to
$persontext .= " - $dateforeventtable<br/>$place</span></td>\n";
The result is an easier-to-read Google map legend…



