TNG Gendex Search

From Genwiki

Revision as of 21:01, 30 September 2006 by Admin (Talk | contribs)

Jump to: navigation, search

If you are not comfortable with html and php editing, this page may not be for you


If you want to add a simple/integrated way for your users to access the TNG Gendex Search, try adding this form to the bottom of your search page. If you are comfortable with a text editor, you can add this to your existing TNG search page in just a few minutes.


What's a GENDEX Search

The TNG Gendex project is a single searchable index of genealogy records from contributing users. At this writing, it includes indicies from over 229 databases, and contains over 3.7 million names. The main page to this index is here


Example

To see how the TNG Gendex search form will look on your search page, you can preview it on my site at My Search Page at the bottom of the page.


Requirements

  1. A working TNG installation - see The Next Generation of Genealogy Sitebuilding
  2. A backup of your TNG searchform.php file.


TNG Modifications for TNG V5 or V6

The following zip file contains the single gendexform.php file.

  • The zip file TNG_gendexform.zip contains 1 file:
    • gendexform.php - the Gendex form to be included in the TNG searchform.php file


  1. backup your existing TNG searchform.php file
  2. download this zip (TNG_gendexform_1.1.zip)
  3. unzip it, examine the contents
  4. find and open your original searchform.php file
    • edit the last few lines of the file
      • change the last lines from this
 </form>
 <br /><br />
 <?php
 tng_footer( "" );
 ?>
  • to this
 </form>
 <?php @include($cms[tngpath] . "gendexform.php"); ?>
 <br /><br />
 <?php
 tng_footer( "" );
 ?>
    • you can cut and paste the single line above from this page and paste it into your file
  1. close your searchform.php file and copy it to your base TNG directory
  2. copy the gendexform.php to your base TNG directory
    • ensure the gendexform.php is readable by all
  3. check it out


  • In the event of a problem with your TNG site
  1. copy your backup searchform.php file to your base TNG directory
    • all should be well now
  2. you may also delete the gendexform.php file

Support

  1. You're sort of on your own... If you have a specific question, or feel some additional info in the above would help others, feel free to contact me directly. Mail me here
    • Please post suggestions, or your own flavour of this mod to the forum or list
Personal tools