Custom Menu Hook Mod

From TNG_Wiki
Jump to navigation Jump to search
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 {{{mod_last_update}}}
Download link for
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 11+
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 use this mod to create your own Custom Menu, 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 10.0.0 English, French
Hooley Family Links Rick Hooley login: guest pwd: guest 10.0.0.0 10.0.1 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.0.2 DE, EN, ES, FR, PT

Related Links

Custom Menu Hook

Custom Drop Down Menu

Site Menu Mod

Converting Custom Menu Hook