Difference between revisions of "Child Descendant Indicator Mod"
(Added conflict warning if Age Calculation Mod was manually installed using the modules from Heinz' site) |
|||
Line 21: | Line 21: | ||
# Download the [[Media:child_descendants_v1.0.zip | child_descendants_v1.0.zip]] | # Download the [[Media:child_descendants_v1.0.zip | child_descendants_v1.0.zip]] | ||
# After downloading the config file, unzip it into the admin/mod_folder, and then follow the normal automated installation for [[Mod Manager]] mods. | # After downloading the config file, unzip it into the admin/mod_folder, and then follow the normal automated installation for [[Mod Manager]] mods. | ||
+ | |||
+ | <span style="color: red">'''Note that the automated and manual installation will not work if you manually installed the [[Age Calculation Mod]] by copying the modules from Heinz' site.'''</span> You will need to manually find the appropriate statement in the '''example.php''' file | ||
==Manual Installation== | ==Manual Installation== |
Revision as of 19:58, 28 September 2009
Purpose of the mod
This mod changes the indicator used to show that a child has descendants from a > (greater than) sign to a + (plus) sign, which to some is more intuitive indicator that the child has children.
Developer
This mod was developed by Chuck Filteau.
Requirements
- A working TNG installation. The automated installation release was initially tested at TNG Version 7.1.1 and may apply to previous versions of TNG. Note that the getperson.php file was last changed in TNG 7.0.3. Line numbers in the manual installation instructions may be different for versions prior to TNG 7.0.3
- A backup of your getperson.php file.
Automated Installation
- An installed current version of the Mod Manager.
- Download the child_descendants_v1.0.zip
- After downloading the config file, unzip it into the admin/mod_folder, and then follow the normal automated installation for Mod Manager mods.
Note that the automated and manual installation will not work if you manually installed the Age Calculation Mod by copying the modules from Heinz' site. You will need to manually find the appropriate statement in the example.php file
Manual Installation
This mod pertains to the getperson.php script
The following are the instructions on how to install the Admin Header mod.
Where
change line 362 in TNG 7.0.3 (and above) which is
$ifkids = $child['haskids'] ? "<a href=\"$descend_url" . "personID=$child[pID]&tree=$tree\" title=\"$text[descendants]\" style=\"text-decoration:none\"><strong>></strong></a>" : " ";
Note that line breaks were added above for readability on the wiki.
What to change
change the > (greater than) sign > to a + sign (note that mod can apply to other versions where line number is likely different)
$ifkids = $child['haskids'] ? "<a href=\"$descend_url" . "personID=$child[pID]&tree=$tree\" title=\"$text[descendants]\" style=\"text-decoration:none\"><strong>+</strong></a>" : " "; // change from > to + provided by Chuck Filteau
Visual of mod
In the event of a problem with your TNG site
- Try using the Mod Manager Remove capability
- Or copy your backup getperson.php file back to your TNG install directory
TNG User sites using this mod
- Please add TNG site that you have found that utilize this modification
Site List
Related Links
- See also Track Lines