Difference between revisions of "NearDark Template"

From TNG_Wiki
Jump to navigation Jump to search
(39 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
== Purpose ==
 
== Purpose ==
Soon after I started using TNG to host [http://lindell-herndon.org Lindell-Herndon Genealogy], I created a pair of templates derived from Template 8 called ''NearDark'' and ''[[NearDawn Template|NearDawn]]''. Since then I've been contacted by a number of TNG users who have asked if they can use my templates.  Unfortunately, not having the time to really do all the necessary CSS updates, my templates depended on 5 TNG mods to achieve the effects I wanted, and this made them impractical for most usersNow I've finished the CSS work, and my templates depend on only a single mod, [[Icon Gravity]]. So I've decided to publish them for anyone to use.
+
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|NearD Support]], can be used to make all the required changes to templateconfig.php and the language support files without editingLeft-side icon/link clustering, which used to be supported by the [[Icon_Gravity|Icon Gravity]] Mod, is included as part of the installation.
 +
 
 +
The designer's own genealogy site, [http://lindell-herndon.org Lindell-Herndon Genealogy], uses a variant of NearDark that incorporates ad banners and his own custom footers.
  
 
== Designer ==
 
== Designer ==
 
[[User:wrherndon|Bill Herndon]]
 
[[User:wrherndon|Bill Herndon]]
 +
 +
== Download ==
 +
[http://lindell-herndon.org/templates/tmplt-near-dark-v10.1.0.3.zip v10.1.0.3] for TNG 10.1.0 through 11.1.2 is the latest version of NearDark.
  
 
== Features ==
 
== Features ==
The template is designed to be a cleaner version of Template 8 that conserves space somewhat better.  Use of the [[Icon Gravity]] Mod isn't required but produces a more pleasing, less cluttered, appearance.  The template supports the '''''Mom's Side''''' and '''''Dad's Side''''' links, news, main paragraph, and 3-part header features from Template 8, along with the '''''Surname Cloud''''' feature from Template 12.
 
 
 
=== Mom's Side / Dad's Side Links ===
 
=== 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.
+
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.
  
 
=== Surname Cloud ===
 
=== Surname Cloud ===
This is the same feature supported by Template 12 and can also be turned on and off from the template settingsTurning the feature off will cause the template to recalculate distances so that the home page maintains the same approximate size.  The default number of surnames is 30, and the template is sized to handle up to 50 surnames. (You can set a higher number, but I don't believe the template will format correctly.)
+
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.
 +
 
 +
=== Scrollable Content ===
 +
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.
  
=== Use of CSS ===
+
=== Internationalization ===
Most other effects, with the exception of icon clustering, are achieved through the use of CSS.  So you have a fair amount of freedom to tinker with the presentation.  For example, if you want to replace the scrolling content sections and allow the template to be as tall as your content, modify the template's CSS to uncomment the empty versions of a pair of classes called '''.home_box_short''' and '''.home_box_tall'''.
+
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.
  
 
=== NearDawn Palette ===
 
=== NearDawn Palette ===
For an alternate color palette, but one that has the same features, check out [[NearDawn Template|NearDawn]].
+
For an alternate color palette, but one that has all the same features, check out [[NearDawn Template|NearDawn]].
  
 
== Preview ==
 
== Preview ==
Line 35: Line 46:
  
 
== Requirements ==
 
== Requirements ==
* A working TNG installation (10.0.2 - 11.0)
+
* A working TNG installation (10.1.0 - 11.1.1)
  
 
== Installation ==
 
== Installation ==
* Download the [http://wherndon.net/genealogy/templates/tmplt-near-dark-v10.1.0.0.zip .zip file] to your template directory and unpack it.   
+
=== Automatic ===
* Edit your templateconfig.php file adding the code in the box below. (These variables are really just placeholders for the parameters you can set in Template => Setup):
+
The template designer recommends automatic installation using the [[NearD_Support|NearD Support]] mod.  This mod makes all the necessary changes to templateconfig.php, updates TNG's language files, and installs left-hand icon/link clustering. 
 +
* Download the template's .zip file to your TNG templates directory and unpack it.
 +
* Download, unpack, and install the [[NearD_Support|NearD Support]] mod.
 +
* From NearDark's template configuration page, make any changes you'd like to customize NearDark.
 +
 
 +
=== Manual ===
 +
* Download the template's .zip file to your TNG templates directory and unpack it.   
 +
* Download, unpack, and install the [[Icon_Gravity|Icon Gravity]] mod.
 +
* Edit your templateconfig.php file adding the code in the box below. (These variables are really just placeholders for the parameters you can set in template configuration):
 
<pre>
 
<pre>
 
$tmp['tNearDark_headtitle1'] = "NearDark";
 
$tmp['tNearDark_headtitle1'] = "NearDark";
Line 47: Line 66:
 
$tmp['tNearDark_headimg'] = "img/titletop.jpg";
 
$tmp['tNearDark_headimg'] = "img/titletop.jpg";
 
$tmp['tNearDark_showmom'] = "yes";
 
$tmp['tNearDark_showmom'] = "yes";
$tmp['tNearDark_momside'] = "Mom's Side";
+
$tmp['tNearDark_momside'] = "Mother's Side";
 +
$tmp['tNearDark_momside_Danish-UTF8'] = "Mors Side";
 +
$tmp['tNearDark_momside_Dutch-UTF8'] = "Moederzijde";
 +
$tmp['tNearDark_momside_French-UTF8'] = "Arbre de la Mère";
 +
$tmp['tNearDark_momside_German-UTF8'] = "Mutters Seite";
 +
$tmp['tNearDark_momside_Italian-UTF8'] = "Albero della Madre";
 +
$tmp['tNearDark_momside_Norwegian-UTF8'] = "Morsiden";
 +
$tmp['tNearDark_momside_PortugueseBR-UTF8'] = "Árvore da Mãe";
 +
$tmp['tNearDark_momside_Spanish-UTF8'] = "Árbol de la Madre";
 +
$tmp['tNearDark_momside_Swedish-UTF8'] = "Mors Sida";
 
$tmp['tNearDark_momsidenames'] = "Smith/Jones";
 
$tmp['tNearDark_momsidenames'] = "Smith/Jones";
 
$tmp['tNearDark_momperson'] = "I1";
 
$tmp['tNearDark_momperson'] = "I1";
 
$tmp['tNearDark_momtree'] = "mytreeid";
 
$tmp['tNearDark_momtree'] = "mytreeid";
$tmp['tNearDark_showdad'] = "yes";
+
$tmp['tNearDark_showdad'] = "no";
$tmp['tNearDark_dadside'] = "Dad's Side";
+
$tmp['tNearDark_dadside'] = "Father's Side";
 +
$tmp['tNearDark_dadside_Danish-UTF8'] = "Fars Side";
 +
$tmp['tNearDark_dadside_Dutch-UTF8'] = "Vaderzijde";
 +
$tmp['tNearDark_dadside_French-UTF8'] = "Arbre du Père";
 +
$tmp['tNearDark_dadside_German-UTF8'] = "Vaters Seite";
 +
$tmp['tNearDark_dadside_Italian-UTF8'] = "Albero del Padre";
 +
$tmp['tNearDark_dadside_Norwegian-UTF8'] = "Fars Side";
 +
$tmp['tNearDark_dadside_PortugueseBR-UTF8'] = "Árvore do Pai";
 +
$tmp['tNearDark_dadside_Spanish-UTF8'] = "Árbol del Padre";
 +
$tmp['tNearDark_dadside_Swedish-UTF8'] = "Fars Sida";
 
$tmp['tNearDark_dadsidenames'] = "Johnson/Williams";
 
$tmp['tNearDark_dadsidenames'] = "Johnson/Williams";
 
$tmp['tNearDark_dadperson'] = "I2";
 
$tmp['tNearDark_dadperson'] = "I2";
 
$tmp['tNearDark_dadtree'] = "mytreeid";
 
$tmp['tNearDark_dadtree'] = "mytreeid";
 +
$tmp['tNearDark_usescroll'] = "no";
 
$tmp['tNearDark_showcloud'] = "yes";
 
$tmp['tNearDark_showcloud'] = "yes";
$tmp['tNearDark_cloudnames'] = "30";
+
$tmp['tNearDark_cloudnames'] = "55";
 +
$tmp['tNearDark_menutitle'] = "Site Menu";
 +
$tmp['tNearDark_menutitle_Danish-UTF8'] = "Hjemmeside Menu";
 +
$tmp['tNearDark_menutitle_Dutch-UTF8'] = "Website Menu";
 +
$tmp['tNearDark_menutitle_French-UTF8'] = "Menu du Site";
 +
$tmp['tNearDark_menutitle_German-UTF8'] = "Website-Menü";
 +
$tmp['tNearDark_menutitle_Italian-UTF8'] = "Sitio Web Menu";
 +
$tmp['tNearDark_menutitle_Norwegian-UTF8'] = "Nettstedmeny";
 +
$tmp['tNearDark_menutitle_PortugueseBR-UTF8'] = "Menu do Site";
 +
$tmp['tNearDark_menutitle_Spanish-UTF8'] = "Menú del Sitio";
 +
$tmp['tNearDark_menutitle_Swedish-UTF8'] = "Webbplatsmeny";
 
$tmp['tNearDark_mainpara'] = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam pharetra, tellus sit amet congue vulputate, nisi erat iaculis nibh,
 
$tmp['tNearDark_mainpara'] = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam pharetra, tellus sit amet congue vulputate, nisi erat iaculis nibh,
 
vitae feugiat sapien ante eget mauris. Pellentesque ac felis tellus. Aenean sollicitudin imperdiet arcu, vitae dignissim est posuere id.
 
vitae feugiat sapien ante eget mauris. Pellentesque ac felis tellus. Aenean sollicitudin imperdiet arcu, vitae dignissim est posuere id.
Line 77: Line 125:
 
<p><b>15 Mar 44 BCE</b> - Julius Caesar murdered.</p>";
 
<p><b>15 Mar 44 BCE</b> - Julius Caesar murdered.</p>";
 
</pre>
 
</pre>
* Edit your languages/English/cust_text.php file adding the variables in the box below:
+
* Edit your languages/English/cust_text.php (or languages/English-UTF8/cust_text.php) file adding the variables in the box below:
 
<pre>
 
<pre>
$admtext['showmom'] = "Show Mom's Side ";
+
$admtext['showmom'] = "Show Mom's Side";
 
$admtext['showdad'] = "Show Dad's Side";
 
$admtext['showdad'] = "Show Dad's Side";
 
$admtext['showcloud'] = "Show Surname Cloud";
 
$admtext['showcloud'] = "Show Surname Cloud";
 
$admtext['cloudnames'] = "Number of Surnames";
 
$admtext['cloudnames'] = "Number of Surnames";
 +
$admtext['usescroll'] = "Scrolling Content";
 +
$text['neards_by'] = "by";
 +
$text['ndawn_tname'] = "NearDawn template";
 +
$text['ndark_tname'] = "NearDark template";
 
</pre>
 
</pre>
 +
 +
Full internationalization requires adding variants of the above 8 variables for each supported language.  For full language support consider using the automated procedure.
  
 
== Compatibility ==
 
== Compatibility ==
Line 91: Line 145:
  
 
== Notes and Caveats ==
 
== Notes and Caveats ==
None
+
(None)
  
 
== Revision History ==
 
== Revision History ==
Line 99: Line 153:
 
! Release&nbsp;Date
 
! Release&nbsp;Date
 
! Comments
 
! Comments
 +
|- valign="top"
 +
| [http://lindell-herndon.org/templates/tmplt-near-dark-v10.1.0.3a.zip v10.1.0.3a]
 +
| (soon)
 +
| Corrects a global variable issue in footer.php that can cause a memory leak when TNG is run on PHP 7.0+.
 +
|- valign="top"
 +
| [http://lindell-herndon.org/templates/tmplt-near-dark-v10.1.0.3.zip 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.
 +
|- valign="top"
 +
| [http://lindell-herndon.org/templates/tmplt-near-dark-v10.1.0.2.zip 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|NearD Support]].
 
|- valign="top"
 
|- valign="top"
 
| [http://lindell-herndon.org/templates/tmplt-near-dark-v10.1.0.1.zip v10.1.0.1]
 
| [http://lindell-herndon.org/templates/tmplt-near-dark-v10.1.0.1.zip v10.1.0.1]
Line 122: Line 188:
 
| [[User:wrherndon|Bill Herndon]]
 
| [[User:wrherndon|Bill Herndon]]
 
| Template designer
 
| Template designer
| 10.1.0.1
+
| 10.1.0.3
| 10.1.3
+
| 11.1.2
|-
 
| [http://craswell.ca/ Your Roots are Showing]
 
| Harold Craswell
 
|
 
| 10.1.0.0
 
| 10.1.2b
 
 
|-
 
|-
 
| [http://porterfieldjunction.net/ Porterfield Junction]
 
| [http://porterfieldjunction.net/ Porterfield Junction]
Line 136: Line 196:
 
| 10.1.0.0
 
| 10.1.0.0
 
| 10.1.2
 
| 10.1.2
 +
|-
 +
| [http://genealogy.ravensbeak.com/ Mueller Diefenbach Heritage Pages]
 +
| Bob Mueller
 +
|
 +
| 10.1.0.3
 +
| 11.1.2
 +
|-
 +
| [https://familie.bitterer.eu/ Familie Bitterer]
 +
| (unknown)
 +
|
 +
| 10.1.0.3
 +
| 11.1.2
 +
|-
 +
| [http://www.akerman.me/tng/ tobbes familje sidor]
 +
| Torbjörn Åkerman
 +
|
 +
| | 10.1.0.3
 +
| 11.1.2
 
|}
 
|}
  
 
[[Category:Themes]]
 
[[Category:Themes]]
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 13:32, 25 February 2018

Purpose

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.

Designer

Bill Herndon

Download

v10.1.0.3 for TNG 10.1.0 through 11.1.2 is the latest version of NearDark.

Features

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.

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.

Scrollable Content

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

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.

NearDawn Palette

For an alternate color palette, but one that has all the same features, check out NearDawn.

Preview

NearDark

NearDark-home.jpg   NearDark-indi.jpg

(Click for full size views.)

Template 8

Template8-1.jpg   Template8-2.jpg

Requirements

  • A working TNG installation (10.1.0 - 11.1.1)

Installation

Automatic

The template designer recommends automatic installation using the NearD Support mod. This mod makes all the necessary changes to templateconfig.php, updates TNG's language files, and installs left-hand icon/link clustering.

  • Download the template's .zip file to your TNG templates directory and unpack it.
  • Download, unpack, and install the NearD Support mod.
  • From NearDark's template configuration page, make any changes you'd like to customize NearDark.

Manual

  • Download the template's .zip file to your TNG templates directory and unpack it.
  • Download, unpack, and install the Icon Gravity mod.
  • Edit your templateconfig.php file adding the code in the box below. (These variables are really just placeholders for the parameters you can set in template configuration):
$tmp['tNearDark_headtitle1'] = "NearDark";
$tmp['tNearDark_headtitle2'] = "Template";
$tmp['tNearDark_headtitle3'] = "";
$tmp['tNearDark_headsubtitle'] = "Mom's family, Dad's family, and a whole bunch o' other families.";
$tmp['tNearDark_headimg'] = "img/titletop.jpg";
$tmp['tNearDark_showmom'] = "yes";
$tmp['tNearDark_momside'] = "Mother's Side";
$tmp['tNearDark_momside_Danish-UTF8'] = "Mors Side";
$tmp['tNearDark_momside_Dutch-UTF8'] = "Moederzijde";
$tmp['tNearDark_momside_French-UTF8'] = "Arbre de la Mère";
$tmp['tNearDark_momside_German-UTF8'] = "Mutters Seite";
$tmp['tNearDark_momside_Italian-UTF8'] = "Albero della Madre";
$tmp['tNearDark_momside_Norwegian-UTF8'] = "Morsiden";
$tmp['tNearDark_momside_PortugueseBR-UTF8'] = "Árvore da Mãe";
$tmp['tNearDark_momside_Spanish-UTF8'] = "Árbol de la Madre";
$tmp['tNearDark_momside_Swedish-UTF8'] = "Mors Sida";
$tmp['tNearDark_momsidenames'] = "Smith/Jones";
$tmp['tNearDark_momperson'] = "I1";
$tmp['tNearDark_momtree'] = "mytreeid";
$tmp['tNearDark_showdad'] = "no";
$tmp['tNearDark_dadside'] = "Father's Side";
$tmp['tNearDark_dadside_Danish-UTF8'] = "Fars Side";
$tmp['tNearDark_dadside_Dutch-UTF8'] = "Vaderzijde";
$tmp['tNearDark_dadside_French-UTF8'] = "Arbre du Père";
$tmp['tNearDark_dadside_German-UTF8'] = "Vaters Seite";
$tmp['tNearDark_dadside_Italian-UTF8'] = "Albero del Padre";
$tmp['tNearDark_dadside_Norwegian-UTF8'] = "Fars Side";
$tmp['tNearDark_dadside_PortugueseBR-UTF8'] = "Árvore do Pai";
$tmp['tNearDark_dadside_Spanish-UTF8'] = "Árbol del Padre";
$tmp['tNearDark_dadside_Swedish-UTF8'] = "Fars Sida";
$tmp['tNearDark_dadsidenames'] = "Johnson/Williams";
$tmp['tNearDark_dadperson'] = "I2";
$tmp['tNearDark_dadtree'] = "mytreeid";
$tmp['tNearDark_usescroll'] = "no";
$tmp['tNearDark_showcloud'] = "yes";
$tmp['tNearDark_cloudnames'] = "55";
$tmp['tNearDark_menutitle'] = "Site Menu";
$tmp['tNearDark_menutitle_Danish-UTF8'] = "Hjemmeside Menu";
$tmp['tNearDark_menutitle_Dutch-UTF8'] = "Website Menu";
$tmp['tNearDark_menutitle_French-UTF8'] = "Menu du Site";
$tmp['tNearDark_menutitle_German-UTF8'] = "Website-Menü";
$tmp['tNearDark_menutitle_Italian-UTF8'] = "Sitio Web Menu";
$tmp['tNearDark_menutitle_Norwegian-UTF8'] = "Nettstedmeny";
$tmp['tNearDark_menutitle_PortugueseBR-UTF8'] = "Menu do Site";
$tmp['tNearDark_menutitle_Spanish-UTF8'] = "Menú del Sitio";
$tmp['tNearDark_menutitle_Swedish-UTF8'] = "Webbplatsmeny";
$tmp['tNearDark_mainpara'] = "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam pharetra, tellus sit amet congue vulputate, nisi erat iaculis nibh,
vitae feugiat sapien ante eget mauris. Pellentesque ac felis tellus. Aenean sollicitudin imperdiet arcu, vitae dignissim est posuere id.
Duis placerat justo eu nunc interdum ultrices. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam pharetra, tellus sit amet
congue vulputate, nisi erat iaculis nibh, vitae feugiat sapien ante eget mauris. Pellentesque ac felis tellus. Aenean sollicitudin
imperdiet arcu, vitae dignissim est posuere id. Duis placerat justo eu nunc interdum ultrices.</p>";
$tmp['tNearDark_latestnews'] = "<p><b>Today</b> - You switch to the most stupendous template ever designed for TNG.</p>
<p><b>25 Dec 2008</b> - Years and years of family research result in a compilation without equal.</p>
<p><b>1 Jan 2003</b> - Darrin invents TNG, the be-all and end-all of genealogy software.</p>
<p><b>1 Jan 2000</b> - Once again...world does not end.  Experts blame Y2K.
<p><b>5 May 1821</b> - Napolean dies in exile on St. Helena.</p>
<p><b>19 Oct 1781</b> - Blaming, \"...that burrito I ate last night,\" Lord Cornwallis sends an aide to surrender his sword after Yorktown.</p>
<p><b>19 May 1536</b> - Anne Boleyn fails to keep a level head.</p>
<p><b>9 Sep 1492</b> - Columbus threatens to, '...turn this boat right around,' if the crew doesn't stop complaining about the food.</p>
<p><b>1013</b> - Sweyn Forkbeard invades England and Aethelred II \"The Unready\" flees to Normandy.</p>
<p><b>1 Jan 1000</b> - The world does not end-Catholic Church blames the Julian Calendar.</p>
<p><b>21 Apr 612</b> - Sir Robin bravely runs away.</p>
<p><b>3 Apr 33</b> - Brian takes one for the team.</p>
<p><b>15 Mar 44 BCE</b> - Julius Caesar murdered.</p>";
  • Edit your languages/English/cust_text.php (or languages/English-UTF8/cust_text.php) file adding the variables in the box below:
$admtext['showmom'] = "Show Mom's Side";
$admtext['showdad'] = "Show Dad's Side";
$admtext['showcloud'] = "Show Surname Cloud";
$admtext['cloudnames'] = "Number of Surnames";
$admtext['usescroll'] = "Scrolling Content";
$text['neards_by'] = "by";
$text['ndawn_tname'] = "NearDawn template";
$text['ndark_tname'] = "NearDark template";

Full internationalization requires adding variants of the above 8 variables for each supported language. For full language support consider using the automated procedure.

Compatibility

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

(None)

Revision History

Version Release Date Comments
v10.1.0.3a (soon) 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
Lindell-Herndon Genealogy Bill Herndon Template designer 10.1.0.3 11.1.2
Porterfield Junction 10.1.0.0 10.1.2
Mueller Diefenbach Heritage Pages Bob Mueller 10.1.0.3 11.1.2
Familie Bitterer (unknown) 10.1.0.3 11.1.2
tobbes familje sidor Torbjörn Åkerman 10.1.0.3 11.1.2