Difference between revisions of "NearDark2 Template"

From TNG_Wiki
Jump to navigation Jump to search
 
Line 57: Line 57:
 
|-
 
|-
 
|}
 
|}
 
== Installation ==
 
=== Installing in TNG 13+ ===
 
From TNG 12 on, template configuration parameters are stored in the database.  Consequently, a method of loading template data into the database is needed.  The [[Template Manager]] mod is used for this purpose.  eGenea Free Templates also support 12 languages and a mod is helpful for loading localized language strings. This is handled by the [[egenea support|eGenea Support]] mod.
 
 
To install any of the eGenea Free Templates follow these instructions:
 
# Download and unzip [[eGenea Support|eGenea Support]] Mod v13.0.0.0 (or later) and acrtivate it using the the [[Mod Manager]].
 
# Download and and unzip the [[Template Manager]] Mod and activate it using the [[Mod Manager]].
 
# Download the .zip file for the desired template and unzip the template to your TNG ''templates'' folder.
 
# Using the administration screen ''Administration (link) => Setup (menu) => Template Settings (link)'' to choose the desired template from the ''Templates Available'' pull-down and click ''Load''.
 
# Choose the desired template and activate it.
 
  
 
== Features ==
 
== Features ==
  
=== Summary ===
+
An extensive discussion of the features for all of the eGenea Free Templates can be found [[EGenea Free Templates#Features|here]].
{| border="0" cellspacing="1" cellpadding="3" class="wikitable"
 
|-
 
! Feature
 
! Location
 
! Enabled/Disabled
 
! Options
 
! Notes
 
|-
 
| Display (hide) Mother's Side / Father's Side Links
 
| Home page navigation (left)
 
| Template settings
 
| yes / no
 
| Additional template settings support the link URL, person ID, and title
 
|-
 
| Display (hide) Maternal / Paternal Ancestor Links
 
| Home page navigation (left)
 
| Template settings
 
| yes / no
 
| Example content for this navigation section is found in the template's navigation.php file.
 
|-
 
| Surname Cloud
 
| Home page content (right)
 
| Template settings
 
| The number of surnames to display
 
| The surname cloud can also be removed from content section of the home page by commenting out the section.
 
|-
 
| Scrolling and Non-scrolling Feature Boxes
 
| Home page content
 
| CSS
 
| Styles: ''shScrollBox'', ''dhScrollBox'', ''thScrollBox'', ''shStrictBox'', ''dhStrictBox'', ''thStrictBox''
 
| CSS styles that can be used to provide scrolling and non-scrolling content boxes that help balance feature data in the content section. Single-height ("sh"), double-height ("dh"), and triple-height("th") boxes are built-in.
 
|-
 
| 3 Features and 2 Featurettes
 
| Home page content
 
| CSS and Template Settings
 
| Styles: (See 'Scrolling and Non-Scrolling Feature Boxes.)
 
| eGenea Free Templates leverage 3 features and 2 featurettes from various other templates to provide the ability to internationalize content and to store it via template settings without having to modify any PHP code.  The features are intended to be used in the home page content section. In the example templates, Featurettes are used to provide an ''About'' box and a ''Copyright'' box in the footer section and can be repurposed.
 
|-
 
| 3-column and 2-column Layout
 
| Home page content
 
| CSS
 
| Styles: ''contentFeat3Col'', ''contentFeat2Col'', ''contentFeatLastCol''
 
| CSS styles that can be used to provide 3 column and 2 column feature content. ''index.php'' uses a 3-columbn layout. ''demo.php'' uses
 
a 2-column layout.
 
|-
 
| Internationalization
 
| Site wide
 
| [[eGenea Support|eGenea Support]] Mod
 
|
 
| Basic language support is provided for Czech (CS), Danish (DA), Dutch (NL), English (EN), French (FR), German (DE), Italian (IT), Norwegian (NO), Polish (PL), Portuguese (PT), Spanish (ES), and Swedish (SV) out of the box. In addition, example template content is provided in Spanish and can be selected or modified in Admin -> Setup -> Template Settings.
 
|-
 
|}
 
  
=== Mom's Side / Dad's Side Links ===
+
== Installation ==
This is same feature supported by Template 8 but with the ability to turn it on and off from template settings.  The heading, link, and tree for each can also be set in the template's settings.
 
 
 
=== Surname Cloud ===
 
This is the same feature supported by Template 12.  The number of surnames displayed can be set in template settings, and the feature can also be turned on or off.  When turned off, the template will recalculate distances so that the home page maintains the same approximate size.  The default number of surnames is 40, and the template is sized to handle up to 50 surnames when scrollable content (see below) is turned on.
 
 
 
=== Scrolling and Non-scrolling Feature Boxes ===
 
By default, this feature is turned on and causes the index page's three main content sections to scroll their content while maintaining a maximum size.  Turning the feature off in template settings will cause the page height to accommodate all content without scrolling.
 
 
 
=== 3 Features and 2 Featurettes ===
 
By default, this feature is turned on and causes the index page's three main content sections to scroll their content while maintaining a maximum size.  Turning the feature off in template settings will cause the page height to accommodate all content without scrolling.
 
 
 
=== Three-part Headers ===
 
Three-part headers from Template 8 are supported.
 
  
=== Internationalization ===
+
Installation instructions are [[EGenea Free Templates#Installation|here]].
eGenea Free Templates have basic language strings for Czech (CS), Danish (DA), Dutch (NL), English (EN), French (FR), German (DE), Italian (IT), Norwegian (NO), Polish (PL), Portuguese (PT), Spanish (ES), and Swedish (SV) built-in.  Language strings are typically loaded by using the [[eGenea Support|eGenea Support]] Mod. However users may decide to change the basic strings or load their own.  In addition, translations of all the example content is provided for English and Spanish.  Content translations for existing or new languages can be accomplished by using the template setup facility built into TNG (Administration (link) -> Setup (menu) -> Template Settings (link).
 
  
 
== Previews ==
 
== Previews ==

Latest revision as of 04:50, 24 July 2023

Preview1bg.jpg    NearDark2-preview2bg.jpg   

Summary

NearDark2 is a drop-in template for TNG releases 13 and later that incorporates streamlined CSS, contemporary web style, and updated features that can be enabled and disabled via template settings. This template is a 'cleanroom' re-implementation of NearDark, using much of the original color palette but developed with modification in mind.

Unlike its predecessor, NearDark2 does not depend on a support Mod for any features. However, two support mods, eGenea Support and Template Manager are used for updating TNG language files and for loading the TNG database with template settings. Instructions are provided in the installation section.

NearDark2 is part of the eGenea Free Templates package, a set of—currently 4...soon to be 6—templates that all utilize the same underlying framework, have the same features, and share the same design principles.

The designer's own genealogy site, Lindell-Herndon Genealogy, currently shows the TNG 14 compatible release of NearDark2 (sometimes NearDawn2, DayLight, or NightLight), depending on my mood).

Designer / Developer

Bill Herndon

Template Downloads

Template Download Link TNG Version Comments
NearDark2 v13.0.0.0
TNG 13.0
For TNG releases 13.0 - 13.1.2.
NearDark2 v14.0.0.0
TNG 14.0
For TNG releases 14.0 - 14.0.2.

Support Downloads

Mod Download Link TNG Version Comments
eGenea Support v13.0.0.0
TNG 13.0


TNG 14.0
Template language string support for TNG releases 13.0 through 14.0.2.
Template Manager v13.0.4.1
TNG 13.0
Template parameter loading for TNG releases 13.0 through 13.1.1.
Template Manager v14.0.0.1
TNG 14.0
Template parameter loading for TNG releases 14.0 through 14.0.2.

Features

An extensive discussion of the features for all of the eGenea Free Templates can be found here.

Installation

Installation instructions are here.

Previews

NearDark2-Preview-Full-01.png    NearDark2-Preview-Full-02.png


(Click for larger images.)

Requirements

  • A working TNG installation (13.0+).
  • The eGenea Support Mod for loading localized language strings.
  • The Template Manager Mod for installing the template's configuration, content, and options into the TNG database.

Compatibility

There are no known compatibility issues at this time. Please record any new compatibility issues in the table below:

Notes and Caveats

(None)

Revision History

Version Release Date Comments
v14.0.0.0 11 Jun 2023 NearDark2 - Initial release for TNG 14+
v13.0.0.0 11 Jun 2023 NearDark2 - Initial release for TNG 13+

Sites Using the eGenea Free Templates

If you download and install any of the eGenea Free Templates, please add your TNG site to the table below. Thanks.

URL User Notes Template Name(s) Template Version(s) TNG Version Language(s)
Lindell-Herndon Genealogy Bill Herndon Template designer NearDark2 14.0.0.0 14.0.2 DA, DE, EN, ES, FR, SV