Add url into note

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Add url into note 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



Add url into note
Summary Adds a clickable link into a note.
Validation
Mod Updated 28 Jan 2023
Download link For
TNG 14.0

v14.0.0.2


For
TNG 12.0
TNG 13.0

v12.3.0.1
Download stats Montrer les statistiques
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod 12.3.0.1 for TNG v12 & 13+
14.0.0.2 for TNG 14.0
Min TNG V 12+
Max TNG V n.c.
Files modified
admin_editnote.php
admin_editperson.php
admin_notes.php
languages/Dutch-UTF8/cust_text.php
languages/Dutch/cust_text.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php
Related Mods
Notes



Purpose of the Mod

This Mod allows to include, into each note, a clickable link to an individual of the genealogy.
From version 14.0.0.2 :
- allows you to add an empty URL too : just click on "Insert it" and complete the parts 'your_url' and 'your_text' with your own URL/text.
- The notes edited from Admin >> Notes are handled too.

Development

Written by : Michel Kirsch from Charleroi - Hainaut - Belgium

Requirements

A TNG v12.3.0 installation in working order.


IMPORTANT : Before installing

Before installing, it is judicious to make a backup copy of the files that will be modified by this mod.

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_editnote.php
admin_editperson.php
admin_notes.php
languages/Dutch-UTF8/cust_text.php
languages/Dutch/cust_text.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php

INSTALLATION

  • Unzip the received file directly in the "mods" sub directory of your TNG installation.
  • Via Mod Manager, install the Mod.

Upgrade

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

Known Problems

None at this day...

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Copy the backup of the affected files back to your TNG directory
  • Retry. If the problem persists, open an issue in the TNG Community Forums or on the page of Michel Kirsch. At worst, send a mail to MyMail

Historic of modifications

Version Release Date Contents
v14.0.0.2 28 Jan 2023 Allows to add an empty URL - Applies on Admin >> Notes >> Edit too.
v14.0.0.1 01 oct 2022 TNG 14 ready.
v12.3.0.1 24 oct 2020 First online version.

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's Developper v14.0.0.2 v14.0.3 FR/EN/NL/D/SP
Dawkins Family Histories Phil Dawkins Private V12.3.0.1 V13.0 EN
Kielakowie.com Janusz Kielak Public site 14.0.0.1 14.0.1 PL, EN, DE

Visualisation

Add Url into Note

Insert a link into the note in 3 steps :
1. Click on Search... and make an usual TNG search for a person. Select the choosen person in the result list.
2. Eventually modify the text that will be inserted into the note. (Default text is LastName + FirtsName(s) of the person)
3. Click on Insert it ! to insert the link into the note.