Jump to content
TNG Community
DaveA

Edit drop down menus

Recommended Posts

DaveA

I can't seem to figure out which file to edit to add items to the drop down menus. I have searched through the posts in this forum, but have not found anything relating to my query. I am using template 10 and have edited the menus before, but can't remember which file. Any help would be appreciated.

Share this post


Link to post
Share on other sites
Hiraeth

I can't seem to figure out which file to edit to add items to the drop down menus. I have searched through the posts in this forum, but have not found anything relating to my query. I am using template 10 and have edited the menus before, but can't remember which file. Any help would be appreciated.

They're in genlib.php. Look for function tng_getFindMenu() for the first of the three standard drop-down menus.

Share this post


Link to post
Share on other sites
Ken Roy

They're in genlib.php. Look for function tng_getFindMenu() for the first of the three standard drop-down menus.

You can also use the new version of the Custom Menu Hook in TNG 10 to add entries in customconfig.php

Share this post


Link to post
Share on other sites
DaveA

They're in genlib.php. Look for function tng_getFindMenu() for the first of the three standard drop-down menus.

I've searched genlib.php and cannot find the above or any reference to the menu items that I have on the media tab. I am currently using v9.21. The site is www.walshfamilyhistory.ca. As I said I have edited the menu's before somewhere because I have some custom items on the media tab, BMD records, Immigration records etc. Maybe my mind is going?

Share this post


Link to post
Share on other sites
Hiraeth

I've searched genlib.php and cannot find the above or any reference to the menu items that I have on the media tab. I am currently using v9.21. The site is www.walshfamilyhistory.ca. As I said I have edited the menu's before somewhere because I have some custom items on the media tab, BMD records, Immigration records etc. Maybe my mind is going?

Well you didn't originally say which TNG version you were using and the footer on you site also doesn't say which version you're on.

In TNG v922 in the default genlib.php the d-d menu code starts at line 399 (if($tngconfig['menu'] < 2) {)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×