Difference between revisions of "Placesearch Entire Note"
Robinrichm (talk | contribs) |
Robinrichm (talk | contribs) |
||
Line 33: | Line 33: | ||
There are no other known incompatibilities, but ''please'' let me know if you encounter any. | There are no other known incompatibilities, but ''please'' let me know if you encounter any. | ||
− | == | + | == Other Related Mods == |
− | # | + | # Once this mod is intstalled, changes made to TNG system function insertLinks() by other mods also affect placesearch.php. Specifically, |
#* [[Notes-Expand WWW Refs]] causes insertLinks() to convert web addresses that start with ''www'' into hyperlinks. | #* [[Notes-Expand WWW Refs]] causes insertLinks() to convert web addresses that start with ''www'' into hyperlinks. | ||
#* [[FindAGrave Links]] causes insertLinks() to convert abbreviated FindAGrave cemetery and grave references (in the forms CRid=nnnn or GrID=nnnn) into hyperlinks. | #* [[FindAGrave Links]] causes insertLinks() to convert abbreviated FindAGrave cemetery and grave references (in the forms CRid=nnnn or GrID=nnnn) into hyperlinks. |
Revision as of 19:38, 6 September 2018
Placesearch Entire Note | |||
---|---|---|---|
Summary | Modifies placesearch.php to display the entire place note, instead of abbreviating it. | ||
Validation | |||
Mod Updated | 3 July 2018 | ||
Download link | v12.0.0.1
v11.0.0.1
| ||
Download stats | |||
Author(s) | Robin Richmond | ||
Homepage | Robin Richmond's Genealogy Database | ||
Mod Support | My Mod Support form or TNG Community Forums | ||
Contact Developer | My Mod Support form | ||
Latest Mod | v11.0.0.1 & v12.0.0.1 | ||
Min TNG V | 11.0 | ||
Max TNG V | at least 12.0.1 | ||
Files modified | placesearch.php | ||
Related Mods | |||
Notes |
Purpose of the Mod
To cause placesearch.php to display the entire Place note. The thinking is that, since placesearch.php is essentially the "Place Details" program, if there is any program that should display the entire Place note, placesearch.php is that program.
How it works
Very simply - placesearch.php utilizes the TNG system function truncateIt() to display the Place note. TruncateIt, as the name suggests, truncates a text value to the length specified in a TNG system parameter. TruncateIt also removes any HTML code from the text. This mod simply replaces the call to truncateIt() within placesearch.php with a call to the TNG system function insertLinks(), which
- Does not truncate the note,
- Leaves existing HTML code within the note alone, and
- Recognizes web addresses that begin with "http", and converts them into hyperlinks.
Mod Compatibility
The change implemented by this mod is also implemented as part of the much larger mod Placesearch-More Info, so that mod, appropriately, conflicts with this one. There are no other known incompatibilities, but please let me know if you encounter any.
Other Related Mods
- Once this mod is intstalled, changes made to TNG system function insertLinks() by other mods also affect placesearch.php. Specifically,
- Notes-Expand WWW Refs causes insertLinks() to convert web addresses that start with www into hyperlinks.
- FindAGrave Links causes insertLinks() to convert abbreviated FindAGrave cemetery and grave references (in the forms CRid=nnnn or GrID=nnnn) into hyperlinks.
- This mod saves data that can be used by the Show Mod Names utility mod, but Show Mod Names 'does not need to be installed for this mod to work.
[Show Installation Details]
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
Revision History
Mod Version | TNG Version | Date | Note |
---|---|---|---|
12.0.0.1 | 12.0+ | 3 July 2018 | No functional changes; made compatible with TNGv12. |
11.0.0.1 | 11.0.0 - 11.1.0.2 | 18 Dec 2017 | New mod. |
Sites using this mod
If you download and install this mod, please add your site to the table below.
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Robin Richmond's Genealogy Database | Robin Richmond | Mod developer (not installed because I use the more comprehensive Placesearch-More Info mod) | 12.0.0.1 | 12.0.1 | English |