Mobile map legend

From TNG_Wiki
Jump to navigation Jump to search
Mobile map legend
Summary This mod positions the legend under the event map on mobile devices
Validation
Mod Updated 8 Jan 2023
Download link For
TNG 14.0.1

mobile-map-legend-v14.0.1.1.cfg.zip
For
TNG 14.0
TNG 14.0.1

mobile-map-legend-v14.0.0.0.cfg.zip
Download stats
Author(s) Carlos Heuser
Homepage Mobile map legend (This page)
Mod Support Carlos Heuser
Contact Developer Carlos Heuser
Latest Mod 14.0.1.1 for v14.0.1
Min TNG V 14.0.0
Max TNG V 14.0.1
Files modified
getperson.php
Related Mods
Notes

Purpose of this mod

To position the legend under the event map on mobile devices.

Developer

This mod was developed by Carlos Heuser.

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 Date Contents
14.0.1.1 07 Mar 2023
  • Added the handling of tablets
14.0.0.0 08 Jan 2023
  • Initial release

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 any tables if created, 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

By default TNG displays the event map and its legend side by side on the person page, as shown below.

Map-side-by-side.jpg

However, in the case of a smartphone or a tablet, where the screen width is limited, the map legend may be cut off and not displayed correctly. The figure below shows the same map as displayed on an iPhone.

Map-side-by-side-mobile.jpg

The purpose of this mod is to move the legend under the event map on mobile devices. On other devices (desktops, laptops,...) the map and its legend are displayed as usual with TNG. The figure below shows the same page when displayed on an IPhone with the mod installed.

Map-legend-below.jpg

Parameter

A parameter may be used to restrict the mod behavior to smartphones leaving the default display for tablets. This may be useful for tablets with large screens.

The value of the parameter may be changed by using Options in ModManager.

Using the mod on iPads

Since at least IPadOS v16, by default the Ipad presents itself to the Web server as a Macintosh running MacOS and not as a tablet. In this case, the mod will not work and the legend will be shown side-by-side with the map (TNG standard behavior).

However by disabling the following option on the IPad

Settings -> Safari -> Request Desktop Website -> All websites

the IPad will present itself as a tablet and the mod will be applied.

Sites using this mod

If you download and install this mod, please add your TNG site to the table below.

URL User Note Mod-Version TNG-Version User-language
South Brazilian Family Trees Carlos Heuser Developers site 14.0.1.1 14.0.1 EN, DE, PB
Stammbaum der Familie Datschetzky Christian Datschetzky Public 14.0.1.1 14.0.3 DE, EN