Add Private Note Display - TNG
From Genwiki
If you are not comfortable with html and php editing, this page may not be for you
Contents
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.
Revision History
- Initial Release - Dec 13, 2006 - initial release (A request from the tngusers2 mail list.
Requirements
- A working TNG installation - see 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 (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
- edit the last few lines of the file
</form> <br /><br /> <?php tng_footer( "" ); ?>
- to this
</form> <?php @include($cms[tngpath] . "gendexform.php"); ?> <br /><br /> <?php tng_footer( "" ); ?>
- you can copy the single line above from this page and paste it into your file
- close your searchform.php file and copy it to your base TNG directory
- copy the gendexform.php to your base TNG directory
- ensure the gendexform.php is readable by all
- check it out
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. Mail me here
- Please post suggestions, or your own flavour of this mod to the forum or list