NearDark is a 'drop-in' alternative to Template 8 that has a brighter, higher contrast, color palette, more legible fonts, conserves space better, and comes with a number of useful features that support customization without changing any PHP code. Mom and Dad Side links from Template 8, surname clouds from Template 12, and scrollable content sections can all be customized in template settings or turned off entirely. The template is internationalized and supports Danish, Dutch, English, French, German, Italian, Norwegian, Portuguese, Spanish, and Swedish out-of-the-box.
A new installation mod, NearD Support, can be used to make all the required changes to templateconfig.php and the language support files without editing. Left-side icon/link clustering, which used to be supported by the Icon Gravity Mod, is included as part of the installation.
The designer's own genealogy site, Lindell-Herndon Genealogy, uses a variant of NearDark that incorporates ad banners and his own custom footers.
Installing in TNG 12
TNG 12 makes a change to how template configuration parameters are stored. Rather than using a file, parameters are stored in the TNG database. Consequently, a method of loading template data into the database is needed. The Template Manager mod is used for this purpose. NearDark for TNG 12 also requires an appropriate version of the NearD Support mod. To install NearDark in TNG 12 follow these steps:
- Download and unzip NearD Support v184.108.40.206 (or later) and install it using the the Mod Manager.
- Download and and unzip the Template Manager and install it using the Mod Manager.
- Download the NearDark .zip file (v220.127.116.11a or later) and unzip the template to your TNG templates folder.
- Using the administration screen Setup => Templates to choose NearDark in Templates Available and click Load.
- Choose NearDark and activate it.
Upgrading to TNG 12
TNG users upgrading to TNG 12 from previous releases can continue to use NearDark and NearDawn by following this procedure:
- Copy your templateconfig.php to a location outside of the TNG directory prior to the upgrade.
- Uninstall the NearD Support mod. (This may require a 'cleanup', but since you'll be restoring the templateconfig.php file momentarily, it doesn't matter.
- Copy the templateconfig.php file you saved in step 1 back to the TNG directory.
- Continue with a normal TNG 12 upgrade. (The TNG upgrade will read the templateconfig.php file as part of the upgrade and install all of the template parameters, including parameters from NearDawn and NearDark.)
- Install NearD Support v18.104.22.168 (or later). This version of the support mod will add the appropriate template functionality without making changes to the templateconfig.php file.
Installing in TNG 10.1.0 through 11.1.2
The support mod NearD Support makes all the required changes to templateconfig.php and the language support files without editing. Left-side icon/link clustering, which used to be supported by the Icon Gravity mod, is included as part of NearD Support. Follow these installation steps:
- Download the NearDark .zip file and unzip the template to your TNG templatesfolder.
- Download and unzip NearD Support v10.1.0.3 and install it using the Mod Manager.
- Using the administration screen Setup => Templates to choose NearDark and activate it.
Mom's Side / Dad's Side Links
This is same feature supported by Template 8 but with the ability to turn it on and off from template settings. The heading for each can also be set in template settings.
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.
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 from Template 8 are supported.
NearDark is fully localized for Danish, Dutch, English, French, German, Italian, Norwegian, Portuguese, Spanish, and Swedish out-of-the-box, and many page items can be changed by the user. For example the 'Site Menu' has default settings for each of the supported languages, but these can be changed by the user in template settings.
For an alternate color palette, but one that has all the same features, check out NearDawn.
(Click for full size views.)
- A working TNG installation (10.1.0 - 12.0).
- The support mod NearD Support for functions supporting icon clustering and internationalization (TNG 10.1.0 - 12.0)
- The mod Template Manager for installing the template's parameters in the TNG database (TNG 12.0).
Unlike the previous version, this version of NearDark probably won't work with TNG r9. The template should, however, be mobile compatible, but if you find any issues, especially on mobile devices, please let me know.
Add any other compatibility issues here.
Notes and Caveats
|v22.214.171.124a||19 May 2018||Incorporates mobile site enhancements introduced in TNG 11 and adds the local template configuration file for use with the Template Manager mod. Users installing NearDark for the first time with TNG 12 must use this version of the mod.|
|v10.1.0.3a||26 Mar 2018||Corrects a global variable issue in footer.php that can cause a memory leak when TNG is run on PHP 7.0+.|
|v10.1.0.3||20 Jun 2017||Added language support for Dutch, Danish, French, Italian, Norwegian, Portuguese, and Swedish. Also updated default values for configurable page titles and menus (all languages) and tested with TNG release 11.1.1.|
|v10.1.0.2||30 Oct 2016||Makes some minor changes to the index page to align menus and photographs. Adds built-in support for Spanish and German. Now supports turning off scrollable content in template configuration, and has been tested to work with the new installation mod, NearD Support.|
|v10.1.0.1||27 Feb 2016||This update brightens the color palette, adds the ability to turn the Mom's Side and Dad's Side on or off from the template settings, and adds the Surname Cloud feature from Template 12. The default font has been changed to Tahoma for readability, and most emboldened titles have been removed.|
|v10.1.0.0||17 Jul 2015||Initial release|
Sites Using NearDark
If you download and install this template, please add your TNG site to the table below.
|URL||User||Note||Template Version||TNG Version||Language(s)|
|Lindell-Herndon Genealogy||Bill Herndon||Template designer||126.96.36.199a (modified)||12.0||DA, DE, EN, ES, FR, SV|
|Mueller Diefenbach Heritage Pages||Bob Mueller||10.1.0.3||11.1.2||DE, EN|
|Familie Bitterer||Martin Bitterer||10.1.0.3||11.1.2|
|tobbes familje sidor||Torbjörn Åkerman||10.1.0.3a||12.0||EN, FI, SV|
|Dickinson Family Genealogy||Steve Milson||188.8.131.52a||12.0||EN|