Changes

no edit summary
Line 18: Line 18:  
}}
 
}}
 
== Purpose of the Mod ==
 
== Purpose of the Mod ==
To display all members (people and marriages), and users of a branch while on the Person Profile.
+
This mod has two purposes:
 +
# To convert the branch names displayed in the Person Profile into hyperlinks that pop up a box that displays all users who are restricted to that branch, and all members (people and marriages) of the branch, and
 +
# Add information to ajx_showbranch.php, which is used by the Branch editor and (now) the Person Profile to display Branch members. New features of the Branch Members popup include:
 +
# Since it now can be called from an end-user program (the Person Profile), the lists of people and families must make sure that the current user is allowed to see these people and families.  If some records are restricted from being seen by the user, the restricted records are completely omitted from the lists.
 +
# To accommodate inaccessible records, it modifies the wording in the subheading and adds the count of inaccessible records
 +
# If any record are omitted from the lists, a new message says how many were omited.
 +
# It ignores $tree as an input querystring parameter, since $branch is sufficient to identify the tree and branch uniquely.
 +
# In the heading, it displays the tree to which the branch belongs, next to the branch name (unless the database has only one tree.)
 +
# The heading now has id='top', to be used as a hyperlink destination.
 +
# The word "Families" in the heading line with people and family counts is a hyperlink to the list of families.
 +
# Person names and family names are now in ordered lists.
 +
# Person names are now hyperlinked to the Person Profile rather than to the Person editor.
 +
# There is now a heading above the list of families, with a hyperlink to the top of the litbox.
 +
# Families are now hyperlined to the Family Profile rather than tp the family editor.
 +
# There is a list to the top of the litbox from the bottom.
 +
# A new querystring parameter $showusers controls whether the branch's users are listed.
 +
# In the new list of users
 +
#* The "realname" field from the users is the value that identifies each user
 +
#* If the user has an email address, the realname is displayed as a mailto: hyperlink.
 +
#* If the user has an associated person, that person's ID and name are displayed as a hyperlink to the person profile.
 
{| style="margin-right:0.5 em;" align="right"  
 
{| style="margin-right:0.5 em;" align="right"  
 
| __TOC__
 
| __TOC__
 
|}
 
|}
 +
 
== Compatibility And Dependencies ==
 
== Compatibility And Dependencies ==
 
No known mod conflicts or strict dependencies, but do please let me know if you find any.
 
No known mod conflicts or strict dependencies, but do please let me know if you find any.
'''Experienced'''
5,069

edits