Line 5: |
Line 5: |
| | mod_summary = Fixes the Family Tab | | | mod_summary = Fixes the Family Tab |
| | mod_validation = | | | mod_validation = |
− | | mod_last_update = 29 July 2019 | + | | mod_last_update = 24 July 2020 |
− | | download_link = for{{Tv120}}<br />[[Media:fixed_family_tab_v12.0.0.1.zip|Fixed Family Tab v12.0.0.1]]<hr /> | + | | download_link = for {{Tv1203}}<br/>[https://xerxx.se/modSupport/click/click.php?id=182&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed_family_tab_v12.0.0.2.cfg.zip] |
− | <!-- Corrected mod above for syntax error
| |
− | Download_link = for {{Tv120}}[https://xerxx.se/modSupport/click/click.php?id=175&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed Family Tab v11.1.2.2]
| |
| | download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=22 Downloads] | | | download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=22 Downloads] |
− | -->
| |
| | mod_author = Erik Hoppe | | | mod_author = Erik Hoppe |
| | mod_url = [[Fixed_Family_Tab]] (this page) | | | mod_url = [[Fixed_Family_Tab]] (this page) |
| | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] | | | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons] |
| | mod_contact = | | | mod_contact = |
− | | mod_version = 12.0.0.1 | + | | mod_version = 12.0.0.2 |
| | min_TNG_ver = 12.0.0 | | | min_TNG_ver = 12.0.0 |
| | max_TNG_ver = 12.x | | | max_TNG_ver = 12.x |
Line 31: |
Line 28: |
| This mod makes the '''Family tab''' stay active after selection, and navigating family pages is done in the '''innermenu''' (like ancestors or descendants pages).<br/> | | This mod makes the '''Family tab''' stay active after selection, and navigating family pages is done in the '''innermenu''' (like ancestors or descendants pages).<br/> |
| <br/> | | <br/> |
− | If the subject Person has no family (is not "married"), the family pages pertain to the parents.<br/> | + | If the subject Person has no family (is not "married"), the family pages pertain to the parents. This does not change the subject Person.<br/> |
| If the subject Person has more than one family, the first family is selected.<br/> | | If the subject Person has more than one family, the first family is selected.<br/> |
− | If a new family is selected by the ''Group Sheet'' or ''Family Chart'' links for f.ex. parent's family, the new subject Person will be the Husband/Father if possible.<br/> | + | If a new family is selected by the ''Group Sheet'' or ''Family Chart'' links in getperson.php or selected in famsearch.php the new subject Person will be the Husband/Father if possible.<br/> |
| When family pages are browsed, the '''Suggest/Edit tab''' and '''PDF innermenu link''' pertain to the Family while the subject Person is kept for the other tabs. | | When family pages are browsed, the '''Suggest/Edit tab''' and '''PDF innermenu link''' pertain to the Family while the subject Person is kept for the other tabs. |
| | | |
Line 46: |
Line 43: |
| == Visualization of this mod == | | == Visualization of this mod == |
| | | |
| + | (A live demo is found here: [https://botebygden.se/getperson.php?personID=I775&tree=bote Botebygden - Nils Olsson] ) |
| + | <p> |
| This mod makes the TNG tab collection consistent with other tab collections on Internet:<br/> | | This mod makes the TNG tab collection consistent with other tab collections on Internet:<br/> |
| Clicking the original '''Family tab''' in TNG<br/> | | Clicking the original '''Family tab''' in TNG<br/> |
Line 52: |
Line 51: |
| [[File:fftimg2.jpg]]<br/><br/> | | [[File:fftimg2.jpg]]<br/><br/> |
| '''ALL''' your tabs are '''gone''' - and are '''replaced''' by others! | | '''ALL''' your tabs are '''gone''' - and are '''replaced''' by others! |
− | <br/><br/> | + | </p> |
| <p> | | <p> |
| A sidenote: '''Family Chart''' and '''Group Sheet''' tabs are placed in the reversed order compared to the links at ''getperson.php'':<br/> | | A sidenote: '''Family Chart''' and '''Group Sheet''' tabs are placed in the reversed order compared to the links at ''getperson.php'':<br/> |
Line 74: |
Line 73: |
| | | |
| Credits go to forumuser '''Merv''' for inspiration to make this mod and to '''Ron''' and '''Ken''' for testing, help, suggestions, advice and patience. Thanks!<br/> | | Credits go to forumuser '''Merv''' for inspiration to make this mod and to '''Ron''' and '''Ken''' for testing, help, suggestions, advice and patience. Thanks!<br/> |
| + | <b>More Cred</b> to '''''Ron''''' and '''''Ken''''' for correcting/updating the mod. Thanks. |
| | | |
| | | |
Line 160: |
Line 160: |
| ! Date | | ! Date |
| ! Description | | ! Description |
| + | |- |
| + | | v12.0.0.2 |
| + | | 24 Jul 2020 |
| + | | The subject person changed when a tab was clicked in some situations. Cleaned up and re-wrote some code. |
| |- | | |- |
| | v12.0.0.1 | | | v12.0.0.1 |
Line 196: |
Line 200: |
| ! User-language | | ! User-language |
| |- | | |- |
− | | [https://xerxx.se/getperson.php?personID=I36&tree=tredNr2 Andersson, Hoppe, Sahlin, Thorell] | + | | [https://botebygden.se/index.php Botebygden (Only Swedish)] |
− | | [[User:XerxX|Erik Hoppe]] | + | | [[User:XerxX|Erik Hoppe]]<br/>Mod author |
− | | Mod author
| + | | Public site - mods on display<br/>[https://botebygden.se/familychart.php?personID=I776&tree=bote Demo of this mod (''Wife'' is subj. pers)] |
− | | '''No ''Family'' tab''' | + | | 12.0.0.2 |
− | | 11.1.2 | + | | 12.3 |
− | | SE, GB, DE | + | | SE |
| |- | | |- |
| | [http://lisaandroger.com/genealogy/getperson.php?personID=I16&tree=Roger Roger's Ramblings & Genealogy] | | | [http://lisaandroger.com/genealogy/getperson.php?personID=I16&tree=Roger Roger's Ramblings & Genealogy] |