Difference between revisions of "Admin Cemetery Edit"
Robinrichm (talk | contribs) |
|||
(22 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{TNGmod | {{TNGmod | ||
| mod_name = Admin Cemetery Edit | | mod_name = Admin Cemetery Edit | ||
− | | | + | | mod_summary = cleaned up undefined variables and subscripts |
| mod_validation = | | mod_validation = | ||
− | | mod_last_update = | + | | mod_last_update = 22 Sep 2023 |
− | | download_link = | + | | download_link = [[Media:admin_cemetery_edit_v14.0.0.11a.zip|v14.0.0.11a]]{{Tv140}}<div style='font-size:90%;clear:both;'>(See the [[#Revision_History|Revision History]])</div> |
− | <div style=' | ||
− | |||
| download_stats = | | download_stats = | ||
| mod_author = [[User:Robinrichm|Robin Richmond]] | | mod_author = [[User:Robinrichm|Robin Richmond]] | ||
− | | mod_url = '' | + | | mod_url = '''{{PAGENAME}}''' (This page) |
| mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | | mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | ||
| mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | | mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | ||
− | | mod_version = v14.0. | + | | mod_version = v14.0.0.11a |
| min_TNG_ver = 10.0.1 | | min_TNG_ver = 10.0.1 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 14.0.3 |
− | | | + | | TNG_file_list = Modifies admin_editcemetery.php, admin_updatecemetery.php, admin_cemeteries.php, admin_newcemetery.php, admin_addcemetery.php, cemeteries_help.php, admin_genconfig.php, admin_updateconfig.php, English cust_text.php<br>Installs rrcemeteryedit_ajx.php, rrcemeteryedit_lib,.php, rrcemeteryedit.css, rrcemeteryedit_right.gif |
− | | related_mods = | + | | related_mods = |
| notes =Requires [[Mod Settings Blocks]] | | notes =Requires [[Mod Settings Blocks]] | ||
}}{| style="margin-right:0.5 em;" align="right" | }}{| style="margin-right:0.5 em;" align="right" | ||
Line 42: | Line 40: | ||
== Mod Options == | == Mod Options == | ||
− | {{RobinBoilerplate | text= | + | {{RobinBoilerplate | text=optionsmsb}} |
− | [[Image: | + | [[Image:AdminCemeteryEditMSB.png]] |
# '''Default country for new cemeteries''' | # '''Default country for new cemeteries''' | ||
# '''Put Geocode fields above the map?''' - The native code put the Cemetery Image fields at the bottom of the form, below the Google map. This parameter allows them to be placed before or after the map. | # '''Put Geocode fields above the map?''' - The native code put the Cemetery Image fields at the bottom of the form, below the Google map. This parameter allows them to be placed before or after the map. | ||
Line 52: | Line 50: | ||
#* "Bethel Cemetery, Erie County, Ohio, USA" (with no City placeholder). | #* "Bethel Cemetery, Erie County, Ohio, USA" (with no City placeholder). | ||
# '''Count burials at the Associated Place in the Placename Lookup and Copy Widget?''' - The widget normally displays the number of Burial events at each Placename that matches the search, but for some large databases, it may take too long to count burials, so the burial count can be suppressed. | # '''Count burials at the Associated Place in the Placename Lookup and Copy Widget?''' - The widget normally displays the number of Burial events at each Placename that matches the search, but for some large databases, it may take too long to count burials, so the burial count can be suppressed. | ||
+ | <!-- | ||
# '''In the Placename Lookup and Copy Widget results, check the boxes that copy these values to the Cemetery fields''' - Checkboxes cause specific (groups of) values to be copied to the Cemetery form when an Associated Placename is selected. The checkbox value are: | # '''In the Placename Lookup and Copy Widget results, check the boxes that copy these values to the Cemetery fields''' - Checkboxes cause specific (groups of) values to be copied to the Cemetery form when an Associated Placename is selected. The checkbox value are: | ||
#* Cemetery Name (which is extracted from the Associated Placename), | #* Cemetery Name (which is extracted from the Associated Placename), | ||
#* City,County,State,Country (also extracted from the Associated Placename), | #* City,County,State,Country (also extracted from the Associated Placename), | ||
#* Geocodes - Latitude, Longitude, Zip | #* Geocodes - Latitude, Longitude, Zip | ||
+ | --> | ||
− | + | == Mod Conflicts == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
No known conflicts. '''[[Admin Cemeteries Search]]''' is the only other mod that targets the Cemetery add and edit modules. | No known conflicts. '''[[Admin Cemeteries Search]]''' is the only other mod that targets the Cemetery add and edit modules. | ||
− | + | == Related Mods== | |
<ol> | <ol> | ||
<li>{{RobinBoilerplate |text=msb}}</li> | <li>{{RobinBoilerplate |text=msb}}</li> | ||
Line 79: | Line 69: | ||
== Installation == | == Installation == | ||
=== Files Installed === | === Files Installed === | ||
− | # rrcemeteryedit_ajx.php - An AJAX program that helps to populate the Cemetery's "Associated Place" field. It finds Cemeteries that match specifications provided in the edit page, lists them with some of their data, and allows the user to select one. | + | # '''rrcemeteryedit_ajx.php''' - An AJAX program that helps to populate the Cemetery's "Associated Place" field. It finds Cemeteries that match specifications provided in the edit page, lists them with some of their data, and allows the user to select one. |
− | # rrcemeteryedit_lib.php, rrcemeteryedit.css, rrcemeteryedit_right.gif | + | # '''rrcemeteryedit_lib.php''' - PHP and Javascript code that handles the new screen widgets such as the count/state/county/city drop-down lists and the Placename Lookup Widget., rrcemeteryedit.css, rrcemeteryedit_right.gif |
− | # img/rrcemeteryedit_right.gif - A small image the points to the right when field values can be copied to the right to add specifications to the Associate Place lookup described above. | + | # '''css/rrcemeteryedit_css.php''' - This mod's own CSS (There are already so many rules in genstyle.css that I don't add rules that are used in only one or two pages.)to |
− | {{RobinBoilerplate |text= | + | # '''img/rrcemeteryedit_right.gif''' - A small image the points to the right when field values can be copied to the right to add specifications to the Associate Place lookup described above. |
+ | {{RobinBoilerplate |text=languageandfiles}} | ||
{{RobinBoilerplate |text=install}} | {{RobinBoilerplate |text=install}} | ||
== Visualizations == | == Visualizations == | ||
− | {| | + | {| class="wikitable" cellspacing="1" cellpadding="2" border="0" |
− | + | |'''Visualization 1. <span style="color: red">BEFORE: The unmodified Cemetery edit form</span>, with the Google map hidden.''' The areas in red rectangles are moved, changed, or removed by the mod. | |
− | |'''<span style="color: red"> BEFORE: The unmodified Cemetery edit form</span>, with the Google map hidden.''' The areas in red rectangles are moved, changed, or removed by the mod. | ||
|- | |- | ||
| [[Image:cemetery_edit-before.png]] | | [[Image:cemetery_edit-before.png]] | ||
Line 94: | Line 84: | ||
{| border="3" cellspacing="1" cellpadding="2" class="wikitable" | {| border="3" cellspacing="1" cellpadding="2" class="wikitable" | ||
− | + | | '''Visualization 2. <span style="color: red;">AFTER INSTALLATION: The modified Cemetery edit form</span>'''.<br> | |
− | | '''<span style="color: red;">AFTER INSTALLATION: The modified Cemetery edit form</span>'''.<br> | ||
<span style='border:2px solid green;'> Green rectangles mark what's new </span>, and <span style='border:2px solid red;'> red rectangles mark things that have been moved or changed </span>. | <span style='border:2px solid green;'> Green rectangles mark what's new </span>, and <span style='border:2px solid red;'> red rectangles mark things that have been moved or changed </span>. | ||
|- | |- | ||
| [[Image:cemetery_edit-after1-fullv9.jpg]] | | [[Image:cemetery_edit-after1-fullv9.jpg]] | ||
|- | |- | ||
+ | | <!-- *** BEGIN DOUBLE TOGGLE --><div class="mw-collapsible mw-customtoggle-after1 mw-customtoggle-after2" id='mw-customcollapsible-after1' style="text-decoration:underline;color:#0645ad;"> [Show lots of details]</div> | ||
+ | <div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-after2' style="margin-left:2em; border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT --> | ||
+ | <div class="mw-customtoggle-history1 mw-customtoggle-after2" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | ||
Starting from the top: | Starting from the top: | ||
# The "Cemetery Report" inner menu link used to be labeled 'Test' | # The "Cemetery Report" inner menu link used to be labeled 'Test' | ||
Line 120: | Line 112: | ||
# The placement of the 'On save' options and "Save" button have been adjusted to improve readability. | # The placement of the 'On save' options and "Save" button have been adjusted to improve readability. | ||
# The Cemetery Image is now scaled to the browser window. | # The Cemetery Image is now scaled to the browser window. | ||
+ | <!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-after1 mw-customtoggle-after2" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | ||
+ | </div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE --> | ||
|} | |} | ||
− | '''The workflow of the "Placename Lookup & Copy" Widget''' | + | '''Visualization 3. <span style='color:red;'>The workflow of the "Placename Lookup & Copy" Widget</span>''' |
{| border="2" cellspacing="0" cellpadding="2" class="wikitable" | {| border="2" cellspacing="0" cellpadding="2" class="wikitable" | ||
− | | | + | | '''Workflow Step 1: Click on the '''"Placename Lookup & Copy"''' button<br>[[Image:cemetery_edit-after-step1v9.png]] |
− | |||
|- | |- | ||
− | | '''Step 2: The Placename Lookup & Copy Widget''' | + | | '''Workflow Step 2: The Placename Lookup & Copy Widget'''<br>[[Image:cemetery_edit-after-step2v9.png]] |
+ | <!-- *** BEGIN DOUBLE TOGGLE --><div class="mw-collapsible mw-customtoggle-step21 mw-customtoggle-step22 toccolor" id='mw-customcollapsible-step21' style="color:#0645ad; font-size:110%; font-weight:bold; text-align:right;">[Show details]</div> | ||
+ | <div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-step22' style="margin-left:2em; border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT --> | ||
+ | <div class="mw-customtoggle-step21 mw-customtoggle-step22" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | ||
* The button pops up a new panel in front of the form. The new panel contains the Placename Lookup & Copy "Widget". The Widget is placed in the very center of the screen, and can be moved to uncover fields that you may want to see. (It cannot be resized, however.) <br> The widget contains: | * The button pops up a new panel in front of the form. The new panel contains the Placename Lookup & Copy "Widget". The Widget is placed in the very center of the screen, and can be moved to uncover fields that you may want to see. (It cannot be resized, however.) <br> The widget contains: | ||
*# The search string for the lookup, populated with the Cemetery Name from the form. | *# The search string for the lookup, populated with the Cemetery Name from the form. | ||
Line 140: | Line 136: | ||
*# The value ", Cleveland" that was copied to the search field when the arrow key next to the city name was clicked. | *# The value ", Cleveland" that was copied to the search field when the arrow key next to the city name was clicked. | ||
*# The help text that is displayed when the information icon is clicked. | *# The help text that is displayed when the information icon is clicked. | ||
− | + | <!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-step21 mw-customtoggle-step22" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | |
+ | </div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE --> | ||
|- | |- | ||
− | | '''Step 3: Placename Search Results''' | + | | '''Workflow Step 3: Placename Search Results''' <br> [[Image:cemetery_edit-after-step3v9.jpg]] |
+ | <!-- *** BEGIN DOUBLE TOGGLE --><div class="mw-collapsible mw-customtoggle-step31 mw-customtoggle-step32" id='mw-customcollapsible-step31' style="color:#0645ad; font-size:110%; font-weight:bold; text-align:right;">[Show details]</div> | ||
+ | <div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-step32' style="margin-left:2em; border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT --> | ||
+ | <div class="mw-customtoggle-step31 mw-customtoggle-step32" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | ||
* The Search results are displayed below the search form. (If needed, the search form can be modified and a new search can be performed.) | * The Search results are displayed below the search form. (If needed, the search form can be modified and a new search can be performed.) | ||
* The search results contain not only only all matching Places, but also other values from their Place records. | * The search results contain not only only all matching Places, but also other values from their Place records. | ||
Line 150: | Line 150: | ||
** The initial state of each checkbox is determined by mod options | ** The initial state of each checkbox is determined by mod options | ||
** The values that will be copied (according to the checkboxes) when a record is selected are shaded in grey. | ** The values that will be copied (according to the checkboxes) when a record is selected are shaded in grey. | ||
− | ** Note that the two "Fort Hill Cemetery" records have '''different geocodes '', so, even though they both will copy the same "Associated Placename" value, they will copy different geocodes (assuming that the Geocodes checkbox remains checked). | + | ** Note that the two "Fort Hill Cemetery" records (from different trees) have '''different geocodes '', so, even though they both will copy the same "Associated Placename" value, they will copy different geocodes (assuming that the Geocodes checkbox remains checked). |
− | + | <!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-step31 mw-customtoggle-step32" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | |
+ | </div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE --> | ||
+ | |||
|- | |- | ||
− | | '''Step 4: | + | | '''Workflow Step 4: Copy the Selected Values to the Cemetery Form''' <br> [[Image:cemetery_edit-after-step4v9.jpg]] |
+ | <!-- *** BEGIN DOUBLE TOGGLE --><div class="mw-collapsible mw-customtoggle-step41 mw-customtoggle-step42" id='mw-customcollapsible-step41' style="color:#0645ad; font-size:110%; font-weight:bold; text-align:right;">[Show details]</div> | ||
+ | <div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-step42' style="margin-left:2em; border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT --> | ||
+ | <div class="mw-customtoggle-step41 mw-customtoggle-step42" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | ||
When the Widget's "Select" button is clicked: | When the Widget's "Select" button is clicked: | ||
* The Lookup Widget disappears. | * The Lookup Widget disappears. | ||
Line 166: | Line 171: | ||
*** The R button, which was initially greyed out, will revert the field to the value it had when the form was loaded. | *** The R button, which was initially greyed out, will revert the field to the value it had when the form was loaded. | ||
The Cemetery Help Page provides more information about the Widget, including what happens when the placename components are copied to the Cemetery form, but a placename component (such as City or County) is missing from the selected Placename. | The Cemetery Help Page provides more information about the Widget, including what happens when the placename components are copied to the Cemetery form, but a placename component (such as City or County) is missing from the selected Placename. | ||
− | + | <!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-step41 mw-customtoggle-step41" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide details]</div> | |
+ | </div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE --> | ||
|} | |} | ||
+ | |||
{| border="3" cellspacing="1" cellpadding="2" class="wikitable" | {| border="3" cellspacing="1" cellpadding="2" class="wikitable" | ||
− | |''' | + | |'''Visualization 4. The Inner Mod Menu'''<br> |
− | + | As is true in most of my (Robin Richmond's) mods the Inner Mod Menu links to the mod's wiki article, the mod's settings (in a Mod Settings Block) as described below, and to a description of the changed that were made by the mod. The "What has changed" link opens the help file to a description of changes. | |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| [[Image:cemetery_edit-imm.jpg]] | | [[Image:cemetery_edit-imm.jpg]] | ||
|} | |} | ||
− | {| border="3" cellspacing="1" cellpadding="2" class="wikitable" | + | {| border="3" cellspacing="1" cellpadding="2" class="wikitable" style="border:2px solid #333" |
− | |''' | + | |'''Visualization 5. The Admin Cemetery Edit Mod Settings Block''' |
− | | | + | This screenshot is presented with annotation in the [[#Mod_Options|Mod Options]] section above.<br>[[Image:admin_cemetery_edit-msb.jpg]] |
− | |||
− | |||
|} | |} | ||
− | == Revision History == | + | ==Revision History== |
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
− | ! Mod Version !! TNG Version !! Date !! | + | ! Mod Version !! TNG Version !! Date !! Notes |
+ | |||
+ | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
+ | |[[Media:Admin cemetery edit v14.0.0.11a.zip|v14.0.0.11a]] | ||
+ | |14.0-14.0.3 | ||
+ | |22Sep2023 | ||
+ | |No functionality changes. Code cleanup and new MM logic for notes about the presence of Mod Settings Blocks | ||
+ | |||
|- style="vertical-align:top;" <!-- ############################################################## --> | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
− | | [[Media: | + | | [[Media:Admin cemetery edit v14.0.0.11.zip|v14.0.0.11.zip]] |
− | | 14.0- | + | | 14.0-14.0.2 |
− | | | + | | style="white-space: nowrap;"|10 Feb 2023 |
| Upgrade to TNGv14 | | Upgrade to TNGv14 | ||
|- style="vertical-align:top;" <!-- ############################################################## --> | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
− | | [[Media:Admin cemetery edit v13.0.0. | + | | [[Media:Admin cemetery edit v13.0.0.10.zip|13.0.0.10]] |
− | | | + | | 13.0-13.1.2 |
− | | | + | | style="white-space: nowrap;"|14 Jan 2022 |
| Made backward-compatible changes to handle TNGv13.1 and TNGv13.1.1 | | Made backward-compatible changes to handle TNGv13.1 and TNGv13.1.1 | ||
Line 203: | Line 211: | ||
| [[Media:Admin cemetery edit v13.0.0.9f.zip|13.0.0.9f]] | | [[Media:Admin cemetery edit v13.0.0.9f.zip|13.0.0.9f]] | ||
| 13 | | 13 | ||
− | | | + | | style="white-space: nowrap;"|22 Nov 2020 |
| Cleaned up language strings and removed some extra characters from the page | | Cleaned up language strings and removed some extra characters from the page | ||
Line 209: | Line 217: | ||
| [[Media:Admin cemetery edit v13.0.0.9d.zip|12.0.0.9d]] | | [[Media:Admin cemetery edit v13.0.0.9d.zip|12.0.0.9d]] | ||
| 13 | | 13 | ||
− | | | + | | style="white-space: nowrap;"|11 Oct 2020 |
| Upgraded to TNGv13 | | Upgraded to TNGv13 | ||
Line 215: | Line 223: | ||
| [[Media:Admin cemetery edit v12.0.0.9c.zip|12.0.0.9c]] | | [[Media:Admin cemetery edit v12.0.0.9c.zip|12.0.0.9c]] | ||
| 12.0-12.3 | | 12.0-12.3 | ||
− | | | + | | style="white-space: nowrap;"|28 Mar 020 |
| | | | ||
# Fixed a bug in the options editor; it was not saving all of the settings. | # Fixed a bug in the options editor; it was not saving all of the settings. | ||
Line 222: | Line 230: | ||
# Upgraded to version 5 of the shared mod Includes libraries. | # Upgraded to version 5 of the shared mod Includes libraries. | ||
# Added a link to the mod's options from a dummy mod parameter | # Added a link to the mod's options from a dummy mod parameter | ||
+ | |} | ||
+ | |||
+ | <div class="mw-collapsible mw-customtoggle-history1 mw-customtoggle-history2" style="text-decoration:underline;color:#0645ad;">[Show Older Versions, back to TNGv9.2 in 2014]</div> | ||
+ | <div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-history2' style="margin-left:2em; border:thin solid grey;"> | ||
+ | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
+ | ! Mod Version !! TNG Version !! Date !! Note | ||
|- style="vertical-align:top;" <!-- ############################################################## --> | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
Line 252: | Line 266: | ||
** Changed calls to the Field Buttons library, requiring version 3 of the Field Buttons mod (well, if the Field Buttons mod is installed at all) | ** Changed calls to the Field Buttons library, requiring version 3 of the Field Buttons mod (well, if the Field Buttons mod is installed at all) | ||
** admin_editcemetery.php now handles rounding of the geocoordinates slightly differently. Rounding is still based on the "Round to how many decimal digits" mod option in [[Admin Places Geocode]]. Installation of [[Admin Places Geocode]] is still optional, but now, this mod doesn't do any rounding unless the [[Admin Places Geocode]] is installed and the rounding option is set. | ** admin_editcemetery.php now handles rounding of the geocoordinates slightly differently. Rounding is still based on the "Round to how many decimal digits" mod option in [[Admin Places Geocode]]. Installation of [[Admin Places Geocode]] is still optional, but now, this mod doesn't do any rounding unless the [[Admin Places Geocode]] is installed and the rounding option is set. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- style="vertical-align:top;" <!-- ############################################################## --> | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
| [[Media:Cemetery edit v12.0.0.8b.zip|12.0.0.8b]] | | [[Media:Cemetery edit v12.0.0.8b.zip|12.0.0.8b]] | ||
Line 318: | Line 326: | ||
| Initial Release | | Initial Release | ||
|} | |} | ||
− | <!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-history1 mw-customtoggle-history2" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide old versions]</div> | + | <!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-history1 mw-customtoggle-history2" style="text-decoration:underline;color:#0645ad;text-align:right;">[Hide old versions]</div></div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE --> |
− | </div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE --> | + | |
+ | ==Sites using this mod== | ||
+ | If you download and install this mod, please add your TNG site to the table below: | ||
− | + | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" width="100%" | |
− | |||
− | {| | ||
! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language | ! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language | ||
− | |- | + | |
− | | [ | + | |- style="vertical-align:top;" |
+ | | [https://robinrichmond.com/familytest/admin_editcemetery.php?cemeteryID=13 Cemetery Edit page on ''Robin's Roots''] id/pw:a/a | ||
| [[User:Robinrichm|Robin Richmond]] | | [[User:Robinrichm|Robin Richmond]] | ||
| Mod developer | | Mod developer | ||
− | | 14.0.0. | + | | 14.0.0.11a |
− | | | + | | 14 |
− | + | | EN | |
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://www.total-family-history.com Total Family History] | | [http://www.total-family-history.com Total Family History] | ||
| [[User:Fallonman|Scott Bennett]] | | [[User:Fallonman|Scott Bennett]] | ||
| Private Site (For right now) | | Private Site (For right now) | ||
− | | | + | | 9.2.0.3 |
− | | | + | | 10.0.1 |
− | | | + | | EN |
− | |- | + | |
− | + | |- style="vertical-align:top;" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| [https://www.rgstrong-genes.com/ R G Strong Family Genealogy] | | [https://www.rgstrong-genes.com/ R G Strong Family Genealogy] | ||
| [[User:Rgstrong|Russell G Strong]] | | [[User:Rgstrong|Russell G Strong]] | ||
| Public Site | | Public Site | ||
− | | | + | | 11.0.0.0 |
− | | | + | | 11.0.0 |
| EN (DE, FR, NL) | | EN (DE, FR, NL) | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [http://www.colegenealogy.net/ The Cole / Tanner Family Tree] | | [http://www.colegenealogy.net/ The Cole / Tanner Family Tree] | ||
| [[User:dlcole|David Cole]] | | [[User:dlcole|David Cole]] | ||
Line 360: | Line 365: | ||
| [[User:Dlcole|see here]] | | [[User:Dlcole|see here]] | ||
| EN, DE, FR, ES, NL | | EN, DE, FR, ES, NL | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [https://WokingFamily.com/ Woking Family Tree Project] | | [https://WokingFamily.com/ Woking Family Tree Project] | ||
| [[User:TBirdUK|Pete Smee]] | | [[User:TBirdUK|Pete Smee]] | ||
| Public/Private Brilliant Mod many thanks | | Public/Private Brilliant Mod many thanks | ||
− | | | + | | 12.0.0.8b |
− | | | + | | 12.1 |
− | | | + | | EN |
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
| [https://www.ourfamilyhistories.org Our Family Histories] | | [https://www.ourfamilyhistories.org Our Family Histories] | ||
| [[User:Bsl20b50|Bryan S. Larson]] | | [[User:Bsl20b50|Bryan S. Larson]] | ||
Line 374: | Line 381: | ||
| [[User:Bsl20b50|see here]] | | [[User:Bsl20b50|see here]] | ||
| EN | | EN | ||
− | |- | + | |
+ | |- style="vertical-align:top;" | ||
|[https://www.osagecountycousing.com Osage County Cousins] | |[https://www.osagecountycousing.com Osage County Cousins] | ||
|[[User:Milatech|Larry G Banks]] | |[[User:Milatech|Larry G Banks]] | ||
|Public/Private | |Public/Private | ||
− | | | + | |14.0.0.11 |
− | | | + | |14.0 |
|EN | |EN | ||
+ | |- | ||
+ | | [https://www.CarrFamilyTree.com Carr's Garage] | ||
+ | | |[[User:Regis Carr|Regis Carr]] | ||
+ | | Public/Private requires registration | ||
+ | | 11.0.0. | ||
+ | | 13.1.2 | ||
+ | | EN, GR, NO | ||
+ | |- | ||
+ | | [https://ahnenklein.com/ Auf den Spuren meiner Ahnen] | ||
+ | | style="white-space: nowrap;"|[[User:Maikl11|Michael Klein]] | ||
+ | | Public/Private site | ||
+ | | 14.0.0.11a | ||
+ | | {{Tv1403}} | ||
+ | | EN, DE | ||
|- | |- | ||
+ | | [https://www.duttongenealogy.com/ The Duttons of New England] | ||
+ | | style="white-space: nowrap;"|[[User:Darrin65|Darrin Dutton]] | ||
+ | | Public/Private | ||
+ | | 14.0.0.11a | ||
+ | | 14.0.2b1 | ||
+ | | EN | ||
|} | |} | ||
+ | |||
+ | [[Category:Mods for TNG v14]] | ||
+ | [[Category:Mods for TNG v13]] | ||
+ | [[Category:Mods for TNG v12]] | ||
[[Category:Mods for TNG v11]] | [[Category:Mods for TNG v11]] | ||
− | + | ||
− | |||
− | |||
[[Category:admin_editcemetery.php mods]] | [[Category:admin_editcemetery.php mods]] | ||
[[Category:admin_updatecemetery.php mods]] | [[Category:admin_updatecemetery.php mods]] |
Latest revision as of 15:04, 11 January 2024
Admin Cemetery Edit | ||
---|---|---|
Summary | cleaned up undefined variables and subscripts | |
Validation | ||
Mod Updated | 22 Sep 2023 | |
Download link | v14.0.0.11a
(See the Revision History) | |
Download stats | ||
Author(s) | Robin Richmond | |
Homepage | Admin Cemetery Edit (This page) | |
Mod Support | My Mod Support form | |
Contact Developer | My Mod Support form | |
Latest Mod | v14.0.0.11a | |
Min TNG V | 10.0.1 | |
Max TNG V | 14.0.3 | |
Files modified | Modifies admin_editcemetery.php, admin_updatecemetery.php, admin_cemeteries.php, admin_newcemetery.php, admin_addcemetery.php, cemeteries_help.php, admin_genconfig.php, admin_updateconfig.php, English cust_text.php Installs rrcemeteryedit_ajx.php, rrcemeteryedit_lib,.php, rrcemeteryedit.css, rrcemeteryedit_right.gif | |
Related Mods | ||
Notes | Requires Mod Settings Blocks |
Purpose of the Mod
This mod is intended to improve the workflow and layout of the Cemetery Edit form, and, particularly to clarify the differences among the buttons that fill in the Associated Placename field. Functional changes in the Cemetery Edit page include:
- A new Associated Placename lookup tool (in addition to the one in the native Edit form). The new "Place Lookup & Copy" form:
- Provides buttons that copy Cemetery city, county, state, and country values to the search field,
- Has more search options,
- In the search results:
- Displays Geocodes, Tree, Number of Burials
- Separates the Cemetery Name from the City, County, State, and Country in the Placename
- Provides a way to copy the new Associated Placename's Cemetery Name, City, County, State, Country, and Geocodes to Cemetery fields.
Other page layout and content changes include:
- Mod settings control whether some form fields appear above or below the Gooogle map.
- New help links and annotation,
- The two old buttons and one new button that populate the Associated Place field are now side-by-side above that field.
- There is now an Inner Mod Menu in the page's Inner Menu.
See a detailed list of changes in the Visualizations below.
This mod also changes the Admin Cemeteries "Add New" tab so that the "Add New" tab invokes the Cemetery Edit page instead of the nearly-identical (in pristine form) Cemetery Add form. As a result, the changes this mod makes to the Cemetery Edit form do not need to be made to the Cemetery Add form.
Mod Options
- Default country for new cemeteries
- Put Geocode fields above the map? - The native code put the Cemetery Image fields at the bottom of the form, below the Google map. This parameter allows them to be placed before or after the map.
- Put Image Upload fields above the map? - The native code put the Cemetery Image fields at the beginning of the form. This parameter allows them to be placed before or after the Google map.
- Delimiter within Placenames - Just a comma ("Erie County,Ohio,USA") or comma-space ("Erie County, Ohio, USA").
- When filling the Associated Placename, include the extra delimiter if a place-part is missing?
This is invoked when the Cemetery form fields (cemetery name, city, county, state, country) are used to create a new Associated Placename. If, say, the city is missing, the new Associated Placename can be- "Bethel Cemetery, , Erie County, Ohio, USA" (with an empty placeholder for the City), or
- "Bethel Cemetery, Erie County, Ohio, USA" (with no City placeholder).
- Count burials at the Associated Place in the Placename Lookup and Copy Widget? - The widget normally displays the number of Burial events at each Placename that matches the search, but for some large databases, it may take too long to count burials, so the burial count can be suppressed.
Mod Conflicts
No known conflicts. Admin Cemeteries Search is the only other mod that targets the Cemetery add and edit modules.
Related Mods
- The Mod Settings Blocks mod packages this mod's options into what I call a "Mod Settings Block", which is a set of form fields that formatted and labeled so that it stands out among other options in an Admin>>Setting form. Mod Settings Blocks is a prerequisite for this mod; it must be installed before this mod can be installed.
- Admin Cemeteries Search is a companion to Admin Cemetery Edit (this mod). It was motivated by essentially the same purposes as this mod, and focuses on the Cemetery Search/Selection page, whereas this mod focuses on the Cemetery Edit page. Admin Cemeteries Search also changes the Cemeteries>>Add New tab to use admin_editcemetery.php rather than admin_newcemetery.php (no matter whether admin_editcemetery.php has been modified by this mod).
- Admin Places Geocode defines a mod setting that control the number of decimal digits in Place geocoordinates. If that setting exists, this mod will use it to round both old and new Cemetery geocoordinates.
Installation
Files Installed
- rrcemeteryedit_ajx.php - An AJAX program that helps to populate the Cemetery's "Associated Place" field. It finds Cemeteries that match specifications provided in the edit page, lists them with some of their data, and allows the user to select one.
- rrcemeteryedit_lib.php - PHP and Javascript code that handles the new screen widgets such as the count/state/county/city drop-down lists and the Placename Lookup Widget., rrcemeteryedit.css, rrcemeteryedit_right.gif
- css/rrcemeteryedit_css.php - This mod's own CSS (There are already so many rules in genstyle.css that I don't add rules that are used in only one or two pages.)to
- img/rrcemeteryedit_right.gif - A small image the points to the right when field values can be copied to the right to add specifications to the Associate Place lookup described above.
This mod does not use standard cust_text.php files for language strings. Instead, it stores languages strings in the mod's subfolder, and pages modified by this mod load language strings directly from files in the mod's languages/ subfolder. Read more about this technique and its procedure for handling site-specific language string overrides.
[Show Standard Installation Process]
Requirements
- A working TNG installation.
- An installed current version of the Mod Manager.
- You should backup files listed in the panel on the right.
Procedure
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file, Extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
Problems?
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support form.
Visualizations
Visualization 1. BEFORE: The unmodified Cemetery edit form, with the Google map hidden. The areas in red rectangles are moved, changed, or removed by the mod. |
Visualization 2. AFTER INSTALLATION: The modified Cemetery edit form. Green rectangles mark what's new , and red rectangles mark things that have been moved or changed . |
[Show lots of details]
[Hide details]
Starting from the top:
[Hide details]
|
Visualization 3. The workflow of the "Placename Lookup & Copy" Widget
Visualization 5. The Admin Cemetery Edit Mod Settings Block
This screenshot is presented with annotation in the Mod Options section above. |
Revision History
Mod Version | TNG Version | Date | Notes |
---|---|---|---|
v14.0.0.11a | 14.0-14.0.3 | 22Sep2023 | No functionality changes. Code cleanup and new MM logic for notes about the presence of Mod Settings Blocks |
v14.0.0.11.zip | 14.0-14.0.2 | 10 Feb 2023 | Upgrade to TNGv14 |
13.0.0.10 | 13.0-13.1.2 | 14 Jan 2022 | Made backward-compatible changes to handle TNGv13.1 and TNGv13.1.1 |
13.0.0.9f | 13 | 22 Nov 2020 | Cleaned up language strings and removed some extra characters from the page |
12.0.0.9d | 13 | 11 Oct 2020 | Upgraded to TNGv13 |
12.0.0.9c | 12.0-12.3 | 28 Mar 020 |
|
Mod Version | TNG Version | Date | Note |
---|---|---|---|
12.0.0.9b | 12.0-12.3 | 26Feb2020 | No functional changes.
|
12.0.0.9 | 12.0 - 12.2 | 28 Sep 2019 | No significant functional changes; but several user interface and help file changes. Also see the .cfg file for bug fixes and other internal changes.
|
12.0.0.8b | 12.0-12.2 | 15 May 2018 | No functional changes; made compatible with TNGv12. |
10.1.0.8b | 10.1 - 11.1.2+ | 10 Feb 2017 | No visible changes on-screen, though the page as printed is different. Specifically:
|
10.1.0.8 | 10.1 - 11.1.1+ | 9 Sep 2017 | Production version. Additional changes include:
|
10.1.0.7 | TNGv10.1+ | 7 May 2017 |
|
10.1.0.5 | TNGv9.2.2-10.1+ | 11 Jan 2015 | TNG v10.1 compliance - Changed trimreplace directives to replace, and changed mysql_* function calls to tng_* |
9.2.2.4 | TNGv9.2.2-10.0.3 | 04Oct2014 | Fixed bug with respect to selection of default country. Added $defaultcountry parameter so that administrators can pick the default country for new cemeteries. |
9.2.0.3 | TNGv.2.2-10.0.1 | 05Apr2014 | Restored the "Fill Place" button, and allowed users to enter an associated place directly. |
9.2.0.2 | TNGv9.2.2-10.0.1 | 14Mar2014 | Initial Release |
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language | |
---|---|---|---|---|---|---|
Cemetery Edit page on Robin's Roots id/pw:a/a | Robin Richmond | Mod developer | 14.0.0.11a | 14 | EN | |
Total Family History | Scott Bennett | Private Site (For right now) | 9.2.0.3 | 10.0.1 | EN | |
R G Strong Family Genealogy | Russell G Strong | Public Site | 11.0.0.0 | 11.0.0 | EN (DE, FR, NL) | |
The Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | EN, DE, FR, ES, NL | |
Woking Family Tree Project | Pete Smee | Public/Private Brilliant Mod many thanks | 12.0.0.8b | 12.1 | EN | |
Our Family Histories | Bryan S. Larson | Public - T8 customized | see here | see here | EN | |
Osage County Cousins | Larry G Banks | Public/Private | 14.0.0.11 | 14.0 | EN | |
Carr's Garage | Regis Carr | Public/Private requires registration | 11.0.0. | 13.1.2 | EN, GR, NO | |
Auf den Spuren meiner Ahnen | Michael Klein | Public/Private site | 14.0.0.11a |
|
EN, DE | |
The Duttons of New England | Darrin Dutton | Public/Private | 14.0.0.11a | 14.0.2b1 | EN |