Custom Menu Hook Mod

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Restricted Downloads of Custom Menu Hook Mod 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


Ambox notice.png The Custom Menu Hook Mod replaces the Custom Drop Down Menu mod and the Site Menu Mod in TNG V10, where the Custom Menu Hook has been redesigned to use the syntax of the Custom Drop Down Menu

Note that this mod is only needed if you want to track your changes to customconfig.php with the Mod Manager, otherwise a mod is not required. See Custom Menu Hook on the syntax requirements for defining custom menu entries including additions to the TNG Find, Media, and Info pull down menus.

See the Converting Custom Menu Hook instructions on how to convert your previous Site Menu Mod
Custom Drop Down Menu mod users should only need to copy the changes to customconfig.php and cust_text.php from their previous mod.

TNG 10.0


Custom Menu Hook Mod
Summary This is an example mod that adds a 4th pull down menu
Validation This mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 12 Feb 2014
Download link for
TNG 14.0
TNG 13.0
TNG 12.0
TNG 11.0
TNG 10.0
custom_menu_hook_v10.0.0.0.zip
Download stats View Download Statistics
Author(s) Ken Roy
Homepage Custom Menu Hook Mod
Mod Support TNG Forums
Contact Developer
Latest Mod 10.0.0.0 for TNG V10 and above
Min TNG V 10.0.0
Max TNG V 13+
Files modified
customconfig.php

languages/English/cust_text.php
languages/English-UTF8/cust_text.php
Related Mods
Replaces the Custom Drop Down Menu and Site Menu Mod in TNG V10
Notes
This mod is an example only. See Custom Menu Hook for the changes you need to use the Custom Menu Hook

Purpose of the mod

This mod was developed to provide an example on how to create your own Custom Menu for TNG V10 if you want to use the Mod Manager to control all your changes to TNG. It is not strictly speaking required, since all changes for the Custom Menu Hook can be done by adding variables to the customconfig.php and you cust_text.php files,

I provided the Converting Custom Menu Hook instructions on how I converted my previous Site Menu Mod to this new mod.

Developer

Mod Developer is Ken Roy

Custom Text

The following text example is provided for the languages/English/cust_text.php and languages/English-UTF8/cust_text.php files


$text['mysite'] = "More";
$text['myresearch'] = "Research Resources";
$text['myguestbook'] = "Sign our Guestbook";

Sprite

  • tng_mobile_sprite.png which includes a blank button for the custom menu that you can edit an add your own icon for your custom menu
  • tng_mobile_sprite2.png which provides a plus sign for the custom menu. The plus sign signifying More

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
Our Roy and Boucher Family Ken Roy I use this mod to replace the previous Site Menu Mod which I converted to the Custom Drop Down Menu syntax 10.0.0.0 14.0.2 EN,FR
Hooley Family Links Rick Hooley login: guest pwd: guest 10.0.0.0 11.1.0 EN
MOTYER Family Genealogy John Mark Motyer Public site see here see here EN,DE,RU
Familienforschung Riehl & Kröber Otto Riehl (no public site)) 10.0.0.0 11.1.2 DE,EN,ES,FR,PT
OurLife Family History - McMullen Clan Sean Thompson 10.0.0.0 11.1.0 EN
Leverette Family History Jeff Leverette 10.0.0.0 10.1.3 EN
Balbeag Family History David Hill Not a public site 10.0.0.0 11.0.2 EN
DuPree Family Center Andrew DuPree 10.0.0.0 11.0.2 EN
Bumbery-Wangler Bob Bumbery Public site 10.0.0.0 11.1.2 EN
Les Lapierre d'Amérique Normand Lapierre Public and Private site 10.0.0.0 14.0.2 FR,EN
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN
Auf den Spuren meiner Ahnen Michael Klein Public/Private 10​.0​.0​.0
TNG 14.0.3
EN, DE

Related Links

Custom Menu Hook

Custom Drop Down Menu

Site Menu Mod

Converting Custom Menu Hook