Jump to content
TNG Community

Maiden/Married name search


NancyP

Recommended Posts

I have seen other TNG users with the option of checking a button next to Maiden or Married as part of the search option on their front page. I'd really like to incorporate that into my own topmenu. Any help?

Here is an example:

Example

Thanks,

Nancy

Link to comment
Share on other sites

I have seen other TNG users with the option of checking a button next to Maiden or Married as part of the search option on their front page. I'd really like to incorporate that into my own topmenu. Any help?

Here is an example:

Example

Thanks,

Nancy

Hi Nancy,

As you link to my site for your example, I assume that you want to do what I do.

I cannot take credit for the code as I got it from someone else (unfortunately I cannot remember who). I did tweak the code for my own use and put it into a mod file that I use for all of my topmenu customizations. I have attached a stripped down version of my mod that only affects the search function.

Maiden_search_t8_v8.1.zip

Note: the mod file works in TNG 8.1.2.1 and only with template 8. I'm sure the code could be tweaked to work with other versions of TNG and other templates fairly easily.

Regards,

Bryan

Link to comment
Share on other sites

Hi Nancy,

As you link to my site for your example, I assume that you want to do what I do.

I cannot take credit for the code as I got it from someone else (unfortunately I cannot remember who). I did tweak the code for my own use and put it into a mod file that I use for all of my topmenu customizations. I have attached a stripped down version of my mod that only affects the search function.

Maiden_search_t8_v8.1.zip

Note: the mod file works in TNG 8.1.2.1 and only with template 8. I'm sure the code could be tweaked to work with other versions of TNG and other templates fairly easily.

Regards,

Bryan

Thanks so much Bryan. I thought the rest of the community could benefit if I posted to the forum as opposed to contacting you directly. I also didn't wish to bother. I appreciate the file very much.

Nancy

Link to comment
Share on other sites

Hi Nancy,

As you link to my site for your example, I assume that you want to do what I do.

I cannot take credit for the code as I got it from someone else (unfortunately I cannot remember who). I did tweak the code for my own use and put it into a mod file that I use for all of my topmenu customizations. I have attached a stripped down version of my mod that only affects the search function.

Maiden_search_t8_v8.1.zip

Note: the mod file works in TNG 8.1.2.1 and only with template 8. I'm sure the code could be tweaked to work with other versions of TNG and other templates fairly easily.

Regards,

Bryan

Bryan,

You might consider posting the code for Template 8 in the Married Name in Search Mod as a separate config file for Template 8.

Currently the Married Name in Search Mod only contains the code for Template 4. The article would need to be updated to distinctly show the config file to be downloaded for what template.

Ken

Link to comment
Share on other sites

Bryan,

You might consider posting the code for Template 8 in the Married Name in Search Mod as a separate config file for Template 8.

Currently the Married Name in Search Mod only contains the code for Template 4. The article would need to be updated to distinctly show the config file to be downloaded for what template.

Ken

Ken,

I have now posted it and made changes to the wiki page.

Bryan

Link to comment
Share on other sites

Larry Harrell

I loved that function also in previous TNGs, however using Ken's latest MOD for Maiden Name Search from Wiki , I could not get it to install even though I use Template 8. It returns to following "Clean-Up" error:

templates/template8/topmenu.php: Location1: Not installed

templates/template8/topmenu.php: Location2: Bad target

search.php: Location1: Bad target

Could be, its not compatible with 8.02 yet or perhaps conflicting with a installed MOD on my site ....

It will NOT clean and ultimately had to be deleted....Sure hope it can be reworked soon for TNG 8.02...I miss it !

Link to comment
Share on other sites

I loved that function also in previous TNGs, however using Ken's latest MOD for Maiden Name Search from Wiki , I could not get it to install even though I use Template 8. It returns to following "Clean-Up" error:

templates/template8/topmenu.php: Location1: Not installed

templates/template8/topmenu.php: Location2: Bad target

search.php: Location1: Bad target

Could be, its not compatible with 8.02 yet or perhaps conflicting with a installed MOD on my site ....

It will NOT clean and ultimately had to be deleted....Sure hope it can be reworked soon for TNG 8.02...I miss it !

Any time it says Bad Target, it means that the code for that location does not verify. Cleanup cannot cleanup a Bad Target, it means that the mod must be reworked. What version of TNG are you running?

Ken

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...