Mobile map legend
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
mobile-map-legend-v14.0.1.1.cfg.zip For
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 |
|
14.0.0.0 | 08 Jan 2023 |
|
Conflicts
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- 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
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- Contact Carlos Heuser.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- 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.
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.
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.
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 |