|
|
(10 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <font color=red>''If you are not comfortable with html and php editing, this page may not be for you''</font>
| + | '''The description and Installation Instructions for this mod have been moved to the TNG Wiki.''' |
| | | |
− | | + | Please refer to the [[http://tng.lythgoes.net/wiki/index.php?title=Private_Note_Mod Private Note Mod]] information on the TNG Wiki Site. |
− | | + | |
− | ==Overview==
| + | |
− | | + | |
− | This TNG modification deals with notes. It is a modification to the person pages so that notes that are marked "Private" will display for admin users.
| + | |
− | | + | |
− | <font color="green">
| + | |
− | Revision History
| + | |
− | | + | |
− | * Initial Release - Dec 13, 2006 - initial release (A request from the tngusers2 mail list.
| + | |
− | </font>
| + | |
− | | + | |
− | ==Requirements==
| + | |
− | | + | |
− | # A working [http://lythgoes.net/genealogy/software.php TNG] installation - see ''[http://lythgoes.net/genealogy/software.php The Next Generation of Genealogy Sitebuilding]''
| + | |
− | # A backup of your TNG '''personlib.php''' files
| + | |
− | | + | |
− | | + | |
− | == Side effects == | + | |
− | | + | |
− | # As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented.
| + | |
− | # The TNG "Private" flag for notes will be overwritten during a GEDCOM import. This mod is most useful for those who use TNG as their only genealogy database program and do not use a desktop application with a GEDCOM import to TNG.
| + | |
− | | + | |
− |
| + | |
− | ==TNG Modifications V6.0.3==
| + | |
− | | + | |
− | # backup your existing TNG searchform.php file
| + | |
− | # download this zip ([[Media:TNG_gendexform_1.2.zip|TNG_gendexform_1.2.zip]])
| + | |
− | # unzip it, examine the contents
| + | |
− | # find and open your original searchform.php file
| + | |
− | #* edit the last few lines of the file
| + | |
− | #** change the last lines from this
| + | |
− | <nowiki> </form>
| + | |
− | <br /><br />
| + | |
− | <?php
| + | |
− | tng_footer( "" );
| + | |
− | ?></nowiki>
| + | |
− | ::* to this
| + | |
− | <nowiki> </form>
| + | |
− | <?php @include($cms[tngpath] . "gendexform.php"); ?>
| + | |
− | <br /><br />
| + | |
− | <?php
| + | |
− | tng_footer( "" );
| + | |
− | ?></nowiki>
| + | |
− | ::* you can copy the single line above from this page and paste it into your file
| + | |
− | <ol start=5>
| + | |
− | <li> close your searchform.php file and copy it to your base TNG directory </li>
| + | |
− | <li> copy the gendexform.php to your base TNG directory </li>
| + | |
− | :* ensure the gendexform.php is readable by all
| + | |
− | <li> check it out </li>
| + | |
− | </ol>
| + | |
− | | + | |
− | | + | |
− | ==In the event of a problem with your TNG site==
| + | |
− | | + | |
− | # copy your backup personlib.php to your base TNG directory
| + | |
− | #* all should be well now
| + | |
− | | + | |
− | | + | |
− | ==Support==
| + | |
− | | + | |
− | # 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. [mailto:genealogy@mcfadyen.ca Mail me here]
| + | |
− | #* Please post suggestions, or your own flavour of this mod to the forum or list
| + | |