Difference between revisions of "Google Maps - Change Pin Legend Mod"

From TNG_Wiki
Jump to navigation Jump to search
(Text replace - "[http://www.tngforum.us/ TNG Forums]" to "[http://tng.community/ TNG Community Forums]")
(18 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
| mod_name        = Change Pin Legend Mod
 
| mod_name        = Change Pin Legend Mod
 
| mod_summary    = Changes the layout of the pins in the Pin Legend below the Google maps on getperson.php
 
| mod_summary    = Changes the layout of the pins in the Pin Legend below the Google maps on getperson.php
| download_link  = [http://lisaandroger.com/downloads/?did=8 Downloads - Roger's Ramblings]
+
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 +
| download_link  = [http://lisaandroger.com/downloads/?did=31 TNG 10.1 Google maps Pin Legend]<br />for {{tv1010}}<hr />[http://lisaandroger.com/downloads/?did=21 TNG 9 Google maps Pin Legend]<br />for {{tv90}}{{tv100}}<hr /> [http://lisaandroger.com/downloads/?did=13 TNG 8 Google maps Pin Legend] <br /> for {{tv80}}<hr />[http://lisaandroger.com/downloads/?did=8 TNG Google maps Pin Legend TNG 7] <br /> for {{tv70}}
 
| mod_author      = Roger Moffat  
 
| mod_author      = Roger Moffat  
| mod_url        = [[Google_Maps_-_Change_Pin_Legend_Mod]]
+
| mod_url        = [[Google Maps - Change Pin Legend Mod]]
| mod_support    = [http://www.tngforum.us/ TNG Forums]
+
| mod_support    = [http://tng.community/ TNG Community Forums]
| mod_version    = 1.1
+
| mod_contact    =
 +
| mod_version    = 9.0.0.1 for TNG 9<br />8.1.0 for TNG 8<br />1.1 for TNG 7
 
| use_mod_manager = Yes
 
| use_mod_manager = Yes
 
| manual_install  = No
 
| manual_install  = No
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
| max_TNG_ver    = 7.1.2
+
| max_TNG_ver    = 9.x.x
| TNG_file_list  =getperson.php<br />googlemaps/text_marker.php - New<br />LiberationSans-Regular.ttf - New<br />
+
| TNG_file_list  = see [[Google_Maps_-_Change_Pin_Legend_Mod#TNG_modules_Involved | TNG Modules Involved]]
 
| related_mods    = [[Google Maps - More Place Levels Mod]]
 
| related_mods    = [[Google Maps - More Place Levels Mod]]
 
| notes          = You can '''NOT''' have both this Mod and the [[Google Maps - More Place Levels Mod]] installed at the same time
 
| notes          = You can '''NOT''' have both this Mod and the [[Google Maps - More Place Levels Mod]] installed at the same time
Line 28: Line 30:
  
 
== Requirements ==
 
== Requirements ==
* A working TNG installation. Automated installation has been tested on TNG Version 7.1.2.
+
* A working TNG installation. Automated installation has been tested on TNG Version 7.1.x and TNG 8.0.0.
 
* A backup of the TNG modules involved - see below.
 
* A backup of the TNG modules involved - see below.
* An installed current version of the Mod Manager.  
+
* An installed current version of the Mod Manager (note this is built into TNG 8).
  
 
== Automated Installation ==
 
== Automated Installation ==
 +
====TNG 7====
  
# Download the file from [http://lisaandroger.com/downloads/?did=8 Downloads | Roger's Ramblings]  
+
# Download the file from [http://lisaandroger.com/downloads/?did=8 TNG Google maps Pin Legend TNG 7]  
# Extract the downloaded config file into your admin/mod_folder. You should end up with 1 files (google_maps_change_pin_legend_layout.cfg) and a folder (LiberationSans-Regular) that contains a font needed for this mod.
+
# Extract the downloaded config file into your admin/mod_folder folder. You should end up with 1 file (google_maps_change_pin_legend_layout.cfg) and a folder (LiberationSans-Regular) that contains a font needed for this mod.
# If you have already installed the [[Google Maps - More Place Levels Mod]] you probably don't want to use this mod - it uses less placelevels than the [[Google Maps - More Place Levels Mod]] and so if you have made any changes to your place levels, some of them will be unused if this mod is installed.
+
# If you have already installed the [[Google Maps - More Place Levels Mod]] you probably don't want to use the [[Google Maps - Change Pin Legend Mod]] which uses less place levels - if you have made any changes to your place levels, some of them will be unused if the [[Google Maps - Change Pin Legend Mod]] mod is installed.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''google_maps_change_pin_legend_layout.cfg''' config file.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''google_maps_change_pin_legend_layout.cfg''' config file.
  
If you want to change the pin colours, a complete set of pins, and a handy contact sheet that gives the number and colour matches for all 216 pins can be downloaded here [http://lisaandroger.com/downloads/?did=9 Downloads | Roger's Ramblings]
+
====TNG 8====
  
== TNG modules Involved ==
+
# Download the file from [http://lisaandroger.com/downloads/?did=13 TNG Google maps Pin Legend TNG 8]
+
# Extract the downloaded config file into your mods. You should end up with 1 files - gmaps_change_pin_legend_V8.y.z.cfg and a folder containg a TrueType font needed for this mod.
This mod modifies getperson.php, and adds a new file googlemaps/text_marker.php, and installs a TrueType font - LiberationSans-Regular into the googlemaps folder that is used to put the text on the pins.
+
# If you have already installed the [[Google Maps - More Place Levels Mod]] you probably don't want to use the [[Google Maps - Change Pin Legend Mod]] which uses less place levels - if you have made any changes to your place levels, some of them will be unused if the [[Google Maps - Change Pin Legend Mod]] mod is installed.
 +
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''gmaps_change_pin_legend_V8.y.z.cfg''' config file.
 +
 
 +
== Even More Pins ==
 +
If you want to change the pin colours, a complete set of pins, and a handy contact sheet that gives the number and colour matches for all 216 pins can be downloaded here [http://lisaandroger.com/downloads/?did=9 TNG Map Pins - Complete Set]
  
 
== In the event of a problem ==
 
== In the event of a problem ==
Line 52: Line 59:
 
== Visualization of this mod ==
 
== Visualization of this mod ==
  
Turns this:
+
Turns this (TNG 7):
  
 
[[Image:GoogleMapPinsOld.png]]
 
[[Image:GoogleMapPinsOld.png]]
 +
 +
or this (TNG8):
 +
 +
[[Image:GoogleMapPinsTNG8.png]]
  
 
into this
 
into this
Line 67: Line 78:
 
* As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented.  (Using the [[Mod Manager]] to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
 
* As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented.  (Using the [[Mod Manager]] to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
  
== Revisions ==  
+
== TNG User sites using this mod ==
20 Feb 2010 - Version 1.0 released <br />
 
23 Feb 2010 -Version 1.1 released <br />
 
  
Version 1.1 corrected an issue when the TNG site was running on a 64 bit server, and tweaked the relative positions of the pin and the text by a couple of pixels.
+
This mod can be seen in effect here
 +
* [http://roger.lisaandroger.com/getperson.php?personID=I16&tree=Roger William Moffat b. 25 MAY 1829 Blackerstone, Longformacus, Berwickshire, Scotland d. 8 SEP 1895 Balclutha, Otago, New Zealand: Roger's Online Genealogy]
  
== TNG User sites using this mod ==
+
* [http://www.maarelweb.nl/stamboom/surnames100.php Van der Maarel Genealogy]
  
This mod can be seen in effect here
+
== TNG modules Involved ==
 +
 +
====In TNG 8 this mod====
 +
*modifies existing TNG file getperson.php
 +
*adds a script google_text_marker.php that superimposes a text string on the bottom of the image of a pin
 +
*installs a TrueType font - LiberationSans-Regular - that is used to put the text on the pins.
  
[[Category:TNGmods]]
+
====In TNG 7 this mod====
 +
*modifies existing TNG file getperson.php
 +
*adds  script googlemaps/text_marker.php that superimposes a text string on the bottom of the image of a pin
 +
*installs a TrueType font - LiberationSans-Regular - that is used to put the text on the pins.
  
 +
[[Category:Mods for TNG v7]]
 +
[[Category:Mods for TNG v8]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v10]]
  
 
[[Category:GoogleMaps]]
 
[[Category:GoogleMaps]]

Revision as of 17:06, 28 April 2015

Change Pin Legend Mod
Summary Changes the layout of the pins in the Pin Legend below the Google maps on getperson.php
Validation This mod is XHTML compliant.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link TNG 10.1 Google maps Pin Legend
for
TNG 10.1.0

TNG 9 Google maps Pin Legend
for
TNG 9.0
TNG 10.0

TNG 8 Google maps Pin Legend
for
TNG 8.0

TNG Google maps Pin Legend TNG 7
for
TNG 7.0
Download stats {{{download_stats}}}
Author(s) Roger Moffat
Homepage Google Maps - Change Pin Legend Mod
Mod Support TNG Community Forums
Contact Developer
Latest Mod 9.0.0.1 for TNG 9
8.1.0 for TNG 8
1.1 for TNG 7
Min TNG V 7.0.0
Max TNG V 9.x.x
Files modified
Related Mods
Notes
You can NOT have both this Mod and the Google Maps - More Place Levels Mod installed at the same time


Purpose of the mod

This mod changes the layout of the pins under the Google map on getperson.php from [pin] [= text] [pin] [= text] [pin] [= text] etc to a row of pins with the text superimposed on the bottom of the pin.

Developer

This mod was developed by Roger Moffat

Requirements

  • A working TNG installation. Automated installation has been tested on TNG Version 7.1.x and TNG 8.0.0.
  • A backup of the TNG modules involved - see below.
  • An installed current version of the Mod Manager (note this is built into TNG 8).

Automated Installation

TNG 7

  1. Download the file from TNG Google maps Pin Legend TNG 7
  2. Extract the downloaded config file into your admin/mod_folder folder. You should end up with 1 file (google_maps_change_pin_legend_layout.cfg) and a folder (LiberationSans-Regular) that contains a font needed for this mod.
  3. If you have already installed the Google Maps - More Place Levels Mod you probably don't want to use the Google Maps - Change Pin Legend Mod which uses less place levels - if you have made any changes to your place levels, some of them will be unused if the Google Maps - Change Pin Legend Mod mod is installed.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the google_maps_change_pin_legend_layout.cfg config file.

TNG 8

  1. Download the file from TNG Google maps Pin Legend TNG 8
  2. Extract the downloaded config file into your mods. You should end up with 1 files - gmaps_change_pin_legend_V8.y.z.cfg and a folder containg a TrueType font needed for this mod.
  3. If you have already installed the Google Maps - More Place Levels Mod you probably don't want to use the Google Maps - Change Pin Legend Mod which uses less place levels - if you have made any changes to your place levels, some of them will be unused if the Google Maps - Change Pin Legend Mod mod is installed.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the gmaps_change_pin_legend_V8.y.z.cfg config file.

Even More Pins

If you want to change the pin colours, a complete set of pins, and a handy contact sheet that gives the number and colour matches for all 216 pins can be downloaded here TNG Map Pins - Complete Set

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Or copy the backup versions getperson.php back to your site.

Visualization of this mod

Turns this (TNG 7):

GoogleMapPinsOld.png

or this (TNG8):

GoogleMapPinsTNG8.png

into this

GoogleMapPins6New.png

the pins in less horizontal space.

Side effects

  • Happiness that your Maps are much more attractive :-)
  • As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).

TNG User sites using this mod

This mod can be seen in effect here

TNG modules Involved

In TNG 8 this mod

  • modifies existing TNG file getperson.php
  • adds a script google_text_marker.php that superimposes a text string on the bottom of the image of a pin
  • installs a TrueType font - LiberationSans-Regular - that is used to put the text on the pins.

In TNG 7 this mod

  • modifies existing TNG file getperson.php
  • adds script googlemaps/text_marker.php that superimposes a text string on the bottom of the image of a pin
  • installs a TrueType font - LiberationSans-Regular - that is used to put the text on the pins.