Difference between revisions of "TNG Gendex Search"

From Genwiki

Jump to: navigation, search
Line 7: Line 7:
  
 
<font size="-1" color="green">
 
<font size="-1" color="green">
 +
''Revision 1.1 - Sep 30, 2006 - updated with Multi-language support(contributed by [http://legault-deslauriers.net Jean Deslauriers])/
 
''Revision 1.1 - Sep 30, 2006 - minor cosmetic adjustment to line up the field entry boxes''
 
''Revision 1.1 - Sep 30, 2006 - minor cosmetic adjustment to line up the field entry boxes''
 
</font>
 
</font>
Line 14: Line 15:
 
==What's a GENDEX Search==
 
==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 [http://tngnetwork.lythgoes.net/index.php here]
+
The TNG Gendex project is a single searchable index of genealogy records from contributing users.  At this writing, it includes indicies from over 238 databases, and contains over 3.5 million names.  The main page to this index is [http://tngnetwork.lythgoes.net/index.php here]
  
  
Line 35: Line 36:
 
The following zip file contains the single gendexform.php file.
 
The following zip file contains the single gendexform.php file.
  
* The zip file [[Media:TNG_gendexform_1.1.zip|TNG_gendexform_1.1.zip]] contains 1 file:
+
* The zip file [[Media:TNG_gendexform_1.2.zip|TNG_gendexform_1.2.zip]] contains 1 file:
 
** gendexform.php - the Gendex form to be included in the TNG searchform.php file
 
** gendexform.php - the Gendex form to be included in the TNG searchform.php file
  
  
 
# backup your existing TNG searchform.php file
 
# backup your existing TNG searchform.php file
# download this zip ([[Media:TNG_gendexform_1.1.zip|TNG_gendexform_1.1.zip]])
+
# download this zip ([[Media:TNG_gendexform_1.2.zip|TNG_gendexform_1.2.zip]])
 
# unzip it, examine the contents
 
# unzip it, examine the contents
 
# find and open your original searchform.php file
 
# find and open your original searchform.php file

Revision as of 21:44, 25 October 2006

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

GENDEX Direct Search form

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.


Revision 1.1 - Sep 30, 2006 - updated with Multi-language support(contributed by Jean Deslauriers)/ Revision 1.1 - Sep 30, 2006 - minor cosmetic adjustment to line up the field entry boxes


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 238 databases, and contains over 3.5 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_1.2.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.2.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