Menu Link

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of 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 Restricted
Caution 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 Caution
Menu Link
Summary Adds one Link to TNG inner menu.
Validation Latest mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 27 Mar 2025
Download link For
TNG 15.0

Menu Link v15​.0​.0​.2​

TNG 14.0
TNG 13.0

Menubar Link Mod v13​.0​.3​.4​
Download stats Downloads Stats
Author(s) Steven Davis
Homepage Menu Link (This page)
Mod Support TNG Community Forums
Contact Developer Steven Davis
Latest Mod 13.0.3.4
Min TNG V 13.0
Max TNG V 14.0.5
Files modified
customconfig.php
genlib.php
genstyle.css
Related Mods
Notes

Introduction

This mod was originally developed for TNG v11 to use WordPress with TNG and provide a link on mobile devices.
A WordPress upgrade sometime later caused some issues with TNG so TNG templates were used to resolve the problem.
There is no integration between TNG and the CMS program (WordPress, Joomla, HTML page etc.) only links.
This mod adds one link while this page explains how to add multiple links to TNG.

Developer

Developed by Steven Davis.

Advantages

Places a link in the TNG navigation inner menu to connect to a page or content management system.
Option to configure TNG or a CMS (WordPress or Joomla) as the home page.
Does not require any integration, special template or program changes.
Can be used with any TNG template.
Links are shown on mobile devices.
Admins create the text to be displayed for either the CMS or TNG page.
Uses the TNG language for the home page regardless of operating mode.
TNG and the CMS program can be in separate folders or a folder placed inside a parent folder.
The menu_link.php file is protected so the edited version, in the extensions folder, is not overwritten during upgrades.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.
  • Both English and English-UTF8 folders be on your site
  • Refresh the page to reload the language files after installation and editing.

Revision History

Mod Version TNG Version Date Contents
15.0.0.2 15.0 28 Mar 2025 Update for v15
13.0.3.4 13.0+ 20 Sep 2024 Removed PHP warnings and language modifications
13.0.3.3 13.0+ 20 Mar 2024 First WIKI release.

Conflicts and Issues

No known conflicts.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file and folder from the downloaded zip file into the mods folder or FTP the extracted file and folder to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
  5. After the mod is installed go to the TNG extensions folder and edit the menu_link.php file for the language(s) you use.

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.
  • Retry installing mod.
  • If you edit the menu_link.php file, and make a syntax mistake, TNG will not load. Delete the menu_link.php file, uninstall the mod and then reinstall.
  • Contact us through the TNG Community Forums.

Uninstalling the mod

If you want to completely Remove (uninstall) this mod, you should

  1. click the Uninstall button to uninstall the mod.
  2. Click the Delete button to delete the mod configuration file.
  3. If the delete option is not enabled as shown in Mod Manager Enhancements TNG v12, manually delete the menu_link mod folder from the mod folder .
  4. Manually delete the menu_link.php file from the extensions folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • If using a version 15.0.0.1 or earlier, manually delete the menu_link.php file from the extensions folder.
  • Proceed as for an installation with the new Mod.

Modmanager Edit options

  • Option 0 makes TNG the home page.
  • Option 1 makes the CMS program or HTML page the home page

Visualization

The following screen captures show the changes made by the mod:

MODE 0 - DEFAULT WHEN THE MOD IS INSTALLED. TNG IS THE HOME PAGE
Installed Text

MODE 0 - YOU CAN CHANGE THE NAME OF THE CMS OR HTML PAGE
Option 0 - Edited Text

MODE 1 - THE CMS OR ANOTHER HTML PAGE IS THE HOME PAGE
Option 1 - Edited Text

MODE 1 - YOU CAN CHANGE THE NAME OF THE TNG PAGE
Option 1 - Edited Text

WITH EITHER MODE THE MOBILE DEVICE REFLECTS THE CONFIGURED OPERATING MODE AND LINKS
MObile device menu

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Family Histories Steven Davis Mod developer 15.0.0.2
TNG 15.0.1
EN
Von den Isert's und den Schmidt's Mabba Local 15.0.0.2
TNG 15.0.1
DE