Add family menu link
![]() |
Downloads of Add family menu link are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account | ![]() |
![]() |
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox | ![]() |
![]() |
The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
Add Family Menu Link | ||
---|---|---|
Summary | Adds a link to the TNG home page | |
Validation | ||
Mod Updated | 3 Feb 2025 | |
Download link | for
| |
Download stats | V13 statistics v15 stats | |
Author(s) | Michel Kirsch | |
Homepage | Racines luxo-hennuyeres | |
Mod Support | TNG Community Forums | |
Contact Developer | ![]() | |
Latest Mod | v15.0.0.3 for TNG v15 v13.0.0.1 for TNG 13 & 14 | |
Min TNG V | 13 | |
Max TNG V | n.c. | |
Files modified | admin_genconfig.php admin_updateconfig.php config.php genlib.php languages/English-UTF8/cust_text.php languages/English/cust_text.php languages/French-UTF8/cust_text.php languages/French/cust_text.php | |
Related Mods | ||
Notes |
Purpose of the Mod
Adds a Family Menu Link in the menu bar that points to the TNG home page when sites include more than TNG, such as WordPress sites.
You can customize the legend of the link via your languages/your_language/cust_text.php files.
Via Administration/Setup/General Settings/Site Design and Definition, you can designate your TNG home page (default is index.php) and decide if you show the link or not.
Development
Authors : Ken Roy & Michel Kirsch
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary in the upper right corner of the page)
- An installed current version of the Mod Manager.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
15.0.0.3 | 15.0 | 03 Feb 2025 | Fix issue with new menu option |
15.0.0.2 | 15.0 | 08 Jan 2025 | Updated for TNG v15 |
13.0.0.1 | 13.0 | 03 Jul 2021 | First online version. |
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
admin_genconfig.php
admin_updateconfig.php
config.php
genlib.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php
Conflicts
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted 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 mod.
In the event of a problem
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- Contact us through the TNG Community Forums or on the page of Michel Kirsch. At worst, send a mail to
.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Visualization
The new link installed.
The new settings for the new link.
Languages
In order to translate the terms used in this Mod, please transcribe and translate
the following variables in your language/cust_test.php files
$admtext['showtng'] = "Show TNG Link"; $text['tnghomepage'] = "Our Family"; $admtext['tngstartpage'] = "TNG home page";
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...
URL | User | Note | Mod-Version | TNG-Version | User-language | |
---|---|---|---|---|---|---|
Racines luxo-hennuyeres | Michel Kirsch | Mod's Developer | 13.0.0.1 | 14.0.3 | FR,EN,NL,GE,ES | |
Roy and Boucher | Ken Roy | Updated Michel's original WP Home button mod to use Admin > Setup > General Settings | 15.0.0.3 |
|
EN,FR |