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

From TNG_Wiki
Jump to navigation Jump to search
m (new category-link)
(Text replace - "[http://www.tngforum.us/ TNG Forums]" to "[http://tng.community/ TNG Community Forums]")
(12 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
| 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
 
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
| download_link  = [http://lisaandroger.com/downloads/?did=13 TNG Google maps Pin Legend TNG 8] for TNG 8<br />[http://lisaandroger.com/downloads/?did=8 TNG Google maps Pin Legend TNG 7] for TNG 7
+
| 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_contact    =
 
| mod_contact    =
| mod_version    = 8.1.0 for TNG 8<br />1.1 for TNG 7
+
| 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    = 8.x.x
+
| max_TNG_ver    = 9.x.x
 
| TNG_file_list  = see [[Google_Maps_-_Change_Pin_Legend_Mod#TNG_modules_Involved | TNG Modules Involved]]
 
| 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]]
Line 82: Line 82:
 
This mod can be seen in effect here  
 
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]
 
* [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]
 +
 +
* [http://www.maarelweb.nl/stamboom/surnames100.php Van der Maarel Genealogy]
  
 
== TNG modules Involved ==
 
== TNG modules Involved ==
Line 97: Line 99:
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v8]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v10]]
 +
 +
[[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.