Version number in footer mod
![]() |
Mod is obsolete with TNG 8.1.2, where TNG now displays the version number in the footers. |
|
Version Number in Footer Mod | |
---|---|
Summary | Inserts TNG version number in footer |
Validation | The mod is XHTML compliant.![]() |
Mod Updated | {{{mod_last_update}}} |
Download link | version_number_in_footer_v8.1.1.zip |
Download stats | {{{download_stats}}} |
Author(s) | Graham Chamberlain |
Homepage | Version number in footer mod (This page) |
Mod Support | TNG Community Forums |
Contact Developer | Contact Developer |
Latest Mod | V8.1.1 |
Min TNG V | 8.0.0 using integrated Mod Manager 7.1.0 Using the Manual Installation instructions |
Max TNG V | 8.1.1 |
Files modified | footer.php in all template folders (templates/templateN) index.php in all template folders except templates 6 and 8 |
Related Mods | |
Notes | None |
Purpose of Mod
TNG version: | ≤ 8.1.1 |
Mod is obsolete with TNG 8.1.2, which added the TNG version number to the footers.
Displays the current TNG version number in the footer after the website link for 'The Next Generation of Genealogy Sitebuilding' .
Mod Developer
The Mod Developer is Graham Chamberlain.
Mod Manager config file provided by Graham Chamberlain.
Automated Installation
- Download the appropriate file for your TNG version from the download links in the mod summary area in the upper right.
- Extract the downloaded zip file to your 'mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the appropriate source_title_display.cfg file.
- The mod affects only the relevant files in the Templates folders (footer.php for all templates and index.php for templates 1,2,3,4,5 and 7).
- If you are not using Admin / Setup / Templates Settings then you will need to manually modify the footer.php and (if appropriate) the index.php in your root folder as desribed in the following Manual Installation section
Manual Installation
If you are not using TNG v8.x.x Admin / Setup / Templates Settings locate the footer code in the footer.php and (if appropriate) the index.php in your root folder. NOTE that Templates 6 and 8 do not have the footer code included in the index.php file, and that in Template 4 the line in footer.php file does not contain 'class="footer"' . Locate the lines that have the following code:
<?php echo $text['pwrdby']; ?> <a href="http://lythgoes.net/genealogy/software.php" class="footer">The Next Generation of Genealogy Sitebuilding</a> ©, <?php echo $text['writby']; ?> Darrin Lythgoe 2001-<?php echo date('Y') ; ?>.
and replace with:
<?php include ("{$cms['tngpath']}version.php"); </nowiki> echo $text['pwrdby']; ?> <a class="footer" href="http://lythgoes.net/genealogy/software.php"> The Next Generation of Genealogy Sitebuilding</a> ©, v<?php echo $tng_version; ?> <?php echo $text['writby']; ?> Darrin Lythgoe 2001-<?php echo date('Y') ; ?>.
leaving out class="footer" from this line if modifying footer.php of Template4.
Note that in the actual code the copyright symbol '©' appears as '&' followed by 'copy;'
Pre-install Edits
None.
Visualization
After the changes, source citations will change from this:
To see the mod in action, go to
Sites using this mod
Please add TNG sites that you have found that utilize this modification
URL | User | Note | Mod-Version/TNG-Version | User-language |
---|---|---|---|---|
Chamberlain & Eidenbenz Genealogy | Graham Chamberlain | Mod developer | V8.1.0/8.1.1 | EN, FR, DE, SP |
... | ... | ... | ... | ... |