Difference between revisions of "Edit facilities - event edition"

From TNG_Wiki
Jump to navigation Jump to search
(Display change)
 
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Restricted}}{{V12_cust_text}}
+
{{Restricted}}{{V12_cust_text}}{{TNGmod
{{Languages}}
 
{{TNGmod
 
 
| mod_name        = edit facilities - event edition
 
| mod_name        = edit facilities - event edition
 
| mod_summary    = Edit/Save an event and see the result in 3 clicks instead 5.
 
| mod_summary    = Edit/Save an event and see the result in 3 clicks instead 5.
 
| mod_validation  =  
 
| mod_validation  =  
| mod_last_update = 14 Jan 2022
+
| mod_last_update = 09 Mar 2023
| download_link  = [http://compteur.mkirsch.be/compte.php?id=230&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}  v 13.0.4.2] {{Tv130}}
+
| download_link  = For{{Tv130}}{{Tv1310}}{{Tv140}}[http://compteur.mkirsch.be/compte.php?id=335&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}  Events Edition v 13.0.4.2c]<br>
 +
<!-- https://tng.lythgoes.net/wiki/images/1/1f/Edit_facilities-event_edition_v13.0.4.2c.zip !-->
 
| download_stats  = [http://compteur.mkirsch.be/collect.php?action=collect Show statistics]
 
| download_stats  = [http://compteur.mkirsch.be/collect.php?action=collect Show statistics]
 
| mod_author      = [[User:MichelKirsch|Michel Kirsch]]
 
| mod_author      = [[User:MichelKirsch|Michel Kirsch]]
 
| mod_url        = [http://genealogie.mkirsch.be/ Racines luxo-hennuyeres]
 
| mod_url        = [http://genealogie.mkirsch.be/ Racines luxo-hennuyeres]
| mod_support    = [http://tng.community/ TNG Community Forums]
+
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]
 
| mod_contact    = [[Image:Image mail.png|MyMail]]
 
| mod_contact    = [[Image:Image mail.png|MyMail]]
| mod_version    = 13.0.4.2 for TNG v13
+
| mod_version    = 13.0.4.2c for TNG v13 & 14
 
| min_TNG_ver    = 13.0
 
| min_TNG_ver    = 13.0
 
| max_TNG_ver    = nc
 
| max_TNG_ver    = nc
| TNG_file_list  =   admin_editevent.php<br />getperson.php<br />personlib.php<br />js/selectutils.js<br />css/genstyles.css<br />languages/English-UTF8/cust_text.php<br />languages/English/cust_text.php<br />languages/French-UTF8/cust_text.php<br />languages/French/cust_text.php<br />languages/Dutch-UTF8/cust_text.php<br />languages/Dutch/cust_text.php<br />
+
| TNG_file_list  = admin_editevent.php<br />getperson.php<br />personlib.php<br />js/selectutils.js<br />css/genstyles.css<br />languages/English-UTF8/cust_text.php<br />languages/English/cust_text.php<br />languages/French-UTF8/cust_text.php<br />languages/French/cust_text.php<br />languages/Dutch-UTF8/cust_text.php<br />languages/Dutch/cust_text.php
 
| related_mods    =  
 
| related_mods    =  
 
| notes          =  
 
| notes          =  
Line 24: Line 23:
 
With TNG, editing an event and seeing the modified page requires 5 clicks. <br>
 
With TNG, editing an event and seeing the modified page requires 5 clicks. <br>
 
This Mod allows you to do the same work in only 2 clicks.<br>
 
This Mod allows you to do the same work in only 2 clicks.<br>
Via the settings, you can choose the edit icon.<br>
+
Via the settings, you can choose the edit icon.
  
 
== Development ==
 
== Development ==
Line 32: Line 31:
 
Thanks to [[User:Katryne|Katryne]], [[User:Yegib|François]], [[User:Ckworld|Cees]], [[User:RickM|Rick]], [[User:Severijns|Rob]], [[User:KenRoy|Ken]] and [[User:Tngrlkrz|Ron]] for tests and opinions.
 
Thanks to [[User:Katryne|Katryne]], [[User:Yegib|François]], [[User:Ckworld|Cees]], [[User:RickM|Rick]], [[User:Severijns|Rob]], [[User:KenRoy|Ken]] and [[User:Tngrlkrz|Ron]] for tests and opinions.
  
== Requirements ==
+
==Requirements==
A '''TNG v13.0.4''' installation in working order.
+
* A working TNG installation.
 +
* A backup of all affected files (see the list in the summary in the upper right corner of the page)
 +
* An installed current version of the [[Mod Manager]].
  
== IMPORTANT : Before installing ==
+
==Revision History==
Before installing, it is best to make a backup copy of the files that will be modified by this mod.
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 +
|-
 +
! Mod Version
 +
! TNG Version
 +
! Date
 +
! Contents
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.2c
 +
| 13.0
 +
| style="white-space: nowrap;"|09 Mar 2023
 +
| Fix a compatibility issue with [[Adjust Date Field Width]] with thanks to [[User:Brett|Brett]] to have modified that Mod.
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.2b
 +
| 13.0
 +
| style="white-space: nowrap;"|07 Feb 2023
 +
| TNG14.0.1 Ready.
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.2a
 +
| 13.0
 +
| style="white-space: nowrap;"|09 Feb 2022
 +
| TNG14 Ready - Some dates were not displayed correctly - Enlarge Date field - Use TNG displayDate function.
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.2
 +
| 13.0
 +
| style="white-space: nowrap;"|14 Jan 2022
 +
| Icon was not displayed and/or some events were not taking in account under some circumstances - Now you can search a place if you need it.
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.1a
 +
| 13.0
 +
| style="white-space: nowrap;"|21 Dec 2021
 +
| Compatible with the new [[Age at event]] Mod.
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.4.1
 +
| 13.0
 +
| style="white-space: nowrap;"|15 Oct 2021
 +
| First online version.
 +
|}
  
 
== TNG Modules Impacted ==
 
== TNG Modules Impacted ==
Line 46: Line 89:
 
</div></div>
 
</div></div>
  
== Installation ==
+
== Conflicts ==
*Unzip the received file directly in the "mods" sub directory of your TNG installation.<br>
+
No known conflicts.
*Via Mod Manager, install the Mod.
+
 
 +
==Installation==
 +
# Uninstall and delete previous version of this mod (if installed)
 +
# Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
 +
# Extract the file from the downloaded zip file into the '''mods''' folder or FTP the extracted file to your mods folder.
 +
# Follow the normal automated installation for Mod Manager, as shown in  the example [[Mod Manager - Installing Config Files]] to install the mod.
 +
 
 +
== In the event of a problem ==
 +
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 +
* Copy the backup of the affected files back to your TNG  directory
 +
* Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums] or on the page of [[User:MichelKirsch|Michel Kirsch]]. At worst, send a mail to [[Image:Image mail.png|MyMail]].
 +
 
 +
== Uninstalling the mod ==
 +
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, you should
 +
# click the '''Uninstall''' button to uninstall the mod
 +
# click the '''Delete''' button to delete the config file from the mods folder.
  
 
== Upgrade ==
 
== Upgrade ==
When upgrading to a newer version
 
 
*Uninstall and eventually Delete the current Mod.
 
*Uninstall and eventually Delete the current Mod.
 
*Proceed as for an installation with the new Mod.
 
*Proceed as for an installation with the new Mod.
  
== Known Problems ==
+
== Visualization ==
None at this day...
+
 
 +
'''Each event has its own edit icon on the individual sheet (getperson.php).'''<br>
 +
 
 +
[[Image:Event_edition_00.JPG|400px|Right|icons on getperson.php]]
 +
 
 +
'''You can choose to display the icon in the title (dimensions are defined by css)...'''<br>
  
== In the event of a problem ==
+
[[Image:Event_edition_01.JPG|400px|Right|icons in the title]]
*Try using the Mod Manager Remove capability
+
 
*Copy the backup of the affected files back to your TNG directory
+
'''... or display the edit icon in the event (dimensions are defined by Menu Manager options).'''<br>
* If the problem persists, '''open''' an issue in the [http://tng.community/ TNG Community Forums] or on the page of [[User:MichelKirsch|Michel Kirsch]]. At worst, send a mail to [[Image:Image mail.png|MyMail]]
 
  
== Historic of modifications ==
+
[[Image:Event_edition_02.JPG|400px|Right|icons the event]]
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
|-
 
! Version
 
! Release&nbsp;Date
 
! Contents
 
|-
 
| 13.0.4.2
 
| 14 Jan 2022
 
| Icon was not displayed and/or some events were not taking in account under some circumstances - Now you can search a place if you need it.
 
|-
 
| 13.0.4.1a
 
| 21 Dec 2021
 
| Compatible with the new [[Age at event]] Mod.
 
|-
 
| 13.0.4.1
 
| 15 Oct 2021
 
| First online version.
 
|}
 
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 87: Line 130:
 
If you have any problem to do it, send me a mail...  
 
If you have any problem to do it, send me a mail...  
  
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" width="100%"
 
|-
 
|-
 
! URL
 
! URL
Line 95: Line 138:
 
! TNG-Version
 
! TNG-Version
 
! User-language
 
! User-language
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://genealogie.mkirsch.be/ Racines luxo-hennuyeres]
 
| [http://genealogie.mkirsch.be/ Racines luxo-hennuyeres]
| [[User:MichelKirsch|Michel Kirsch]]
+
| style="white-space: nowrap;"|[[User:MichelKirsch|Michel Kirsch]]
 
| Mod Developer
 
| Mod Developer
| 13.0.4.1
+
| 13.0.4.2c
| 13.0.4
+
| 14.0.3
 
| FR,EN,NL,GE,ES
 
| FR,EN,NL,GE,ES
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://alineofmalkins.com/ A Line of Malkins in NZ]
 
| [https://alineofmalkins.com/ A Line of Malkins in NZ]
| [[User:RickM|Rick Malkin]]
+
| style="white-space: nowrap;"|[[User:RickM|Rick Malkin]]
 
| Mod Lover
 
| Mod Lover
 
| 13.0.4.1a
 
| 13.0.4.1a
 
| 13.1.0
 
| 13.1.0
 
| EN
 
| EN
|-
+
 
| [https://www.severijns.family/Severijns Genealogy of a Dutch East-Indies Family]
+
|- style="vertical-align:top;"
| Rob Severijns
 
| Private
 
| 13.0.4.1a
 
| 13.1.1
 
| NL, EN
 
|-
 
 
| [http://bastiaanssen.us Bastiaanssen Genealogy]
 
| [http://bastiaanssen.us Bastiaanssen Genealogy]
| Jan Bastiaanssen
+
| style="white-space: nowrap;"|[[User:Janbastiaanssen|Jan Bastiaanssen]]
 
| Public / Private
 
| Public / Private
| 13.0.4.1a
+
| 13.0.4.2a
| 13.1.1
+
| 13.1.2
 
| NL, EN, ES
 
| NL, EN, ES
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.cnl-gla.ca/nos-ancetres/lapierreamerique/ Les Lapierre d'Amérique]
 
| [https://www.cnl-gla.ca/nos-ancetres/lapierreamerique/ Les Lapierre d'Amérique]
| [[User:NLapierre|Normand Lapierre]]
+
| style="white-space: nowrap;"|[[User:NLapierre|Normand Lapierre]]
 
| Public/Private
 
| Public/Private
 
| 13.0.4.1
 
| 13.0.4.1
 
| 13.0.4
 
| 13.0.4
 
| FR,EN
 
| FR,EN
|}
 
  
== Visualization ==
+
|- style="vertical-align:top;"
 +
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 +
| style="white-space: nowrap;"|[[User:Stores|Jim Holt]]
 +
| Private
 +
| [[User:Stores|See Here]]
 +
| [[User:Stores|See Here]]
 +
| EN
  
'''Each event has its own edit icon on the individual sheet (getperson.php).'''<br>
+
|- style="vertical-align:top;"
 +
| [https://lein.se/familjenjohnson/index.php Familjen Johnson]
 +
| style="white-space: nowrap;"|[[User:Leif Sweden|Leif Johnson]]
 +
| Public
 +
| 13.0.4.2c
 +
| 14.0.3
 +
| SE,EN
  
[[Image:Event_edition_00.JPG|400px|Right|icons on getperson.php]]
+
|- style="vertical-align:top;"
 +
| [https://clan.chauvigne.info/ GénéaKat]
 +
| style="white-space: nowrap;"|[[User:Katryne|Katryne Chauvigné-Bourlaud]]
 +
| Public/Private
 +
| 13.0.4.2c
 +
| 14.0.3
 +
| FR,EN
 +
|}
  
'''You can choose to display the icon in the title (dimensions are defined by css)...'''<br>
+
[[Category:Mods for TNG v14]]
 +
[[Category:Mods for TNG v13]]
  
[[Image:Event_edition_01.JPG|400px|Right|icons in the title]]
 
 
'''... or display the edit icon in the event (dimensions are defined by Menu Manager options).'''<br>
 
 
[[Image:Event_edition_02.JPG|400px|Right|icons the event]]
 
 
[[Category:Mods for TNG v13]]
 
 
[[Category:personlib.php mods]]
 
[[Category:personlib.php mods]]
 
[[Category:getperson.php mods]]
 
[[Category:getperson.php mods]]
Line 152: Line 204:
 
[[Category:admin_editevent.php mods]]
 
[[Category:admin_editevent.php mods]]
 
[[Category:genstyle.css mods]]
 
[[Category:genstyle.css mods]]
 +
 
[[Category:cust_text.php English mods]]
 
[[Category:cust_text.php English mods]]
 
[[Category:cust_text.php French mods]]
 
[[Category:cust_text.php French mods]]
 
[[Category:cust_text.php Dutch mods]]
 
[[Category:cust_text.php Dutch mods]]

Latest revision as of 17:24, 5 November 2023

Restricted Downloads of Edit facilities - event edition are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


edit facilities - event edition
Summary Edit/Save an event and see the result in 3 clicks instead 5.
Validation
Mod Updated 09 Mar 2023
Download link For
TNG 13.0
TNG 13.1.0
TNG 14.0
Events Edition v 13.0.4.2c
Download stats Show statistics
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod 13.0.4.2c for TNG v13 & 14
Min TNG V 13.0
Max TNG V nc
Files modified
admin_editevent.php
getperson.php
personlib.php
js/selectutils.js
css/genstyles.css
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php
languages/Dutch-UTF8/cust_text.php
languages/Dutch/cust_text.php
Related Mods
Notes

Purpose of the Mod

With TNG, editing an event and seeing the modified page requires 5 clicks.
This Mod allows you to do the same work in only 2 clicks.
Via the settings, you can choose the edit icon.

Development

Author : Michel Kirsch from Charleroi-Hainaut-Belgium

Testing

Thanks to Katryne, François, Cees, Rick, Rob, Ken and Ron for tests and opinions.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
13.0.4.2c 13.0 09 Mar 2023 Fix a compatibility issue with Adjust Date Field Width with thanks to Brett to have modified that Mod.
13.0.4.2b 13.0 07 Feb 2023 TNG14.0.1 Ready.
13.0.4.2a 13.0 09 Feb 2022 TNG14 Ready - Some dates were not displayed correctly - Enlarge Date field - Use TNG displayDate function.
13.0.4.2 13.0 14 Jan 2022 Icon was not displayed and/or some events were not taking in account under some circumstances - Now you can search a place if you need it.
13.0.4.1a 13.0 21 Dec 2021 Compatible with the new Age at event Mod.
13.0.4.1 13.0 15 Oct 2021 First online version.

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

The following TNG Modules are modified, and should be backed up prior to installing this mod:

admin_editevent.php
getperson.php
personlib.php
js/selectutils.js
css/genstyles.css
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php
languages/Dutch-UTF8/cust_text.php
languages/Dutch/cust_text.php

Conflicts

No known conflicts.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Visualization

Each event has its own edit icon on the individual sheet (getperson.php).

icons on getperson.php

You can choose to display the icon in the title (dimensions are defined by css)...

icons in the title

... or display the edit icon in the event (dimensions are defined by Menu Manager options).

icons the event

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Mod Developer 13.0.4.2c 14.0.3 FR,EN,NL,GE,ES
A Line of Malkins in NZ Rick Malkin Mod Lover 13.0.4.1a 13.1.0 EN
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 13.0.4.2a 13.1.2 NL, EN, ES
Les Lapierre d'Amérique Normand Lapierre Public/Private 13.0.4.1 13.0.4 FR,EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Familjen Johnson Leif Johnson Public 13.0.4.2c 14.0.3 SE,EN
GénéaKat Katryne Chauvigné-Bourlaud Public/Private 13.0.4.2c 14.0.3 FR,EN