Switch Mobile or Standard

From TNG_Wiki
Jump to navigation Jump to search
Switch Mobile or Standard
Summary Enables Switching between Mobile and Standard Mode Displays.
Validation
Mod Updated 17 Feb 2025
Download link ‎‎‎‎For
TNG 15.0

switch_mobile_or_standard_v15.0.0.1.zip
For

TNG 14.0
TNG 13.0
TNG 12.3.0
switch_mobile_or_standard_v12.3.0.0.zip
Download stats
Author(s) Ron Krzmarzick
Homepage Roots & Relatives Remembered
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 15.0.0.1
Min TNG V 12.3
Max TNG V 14+
Files modified
genlib.php
Related Mods
Notes

Purpose of the Mod

This TNG modification Enables Switching between Mobile and Standard Mode Displays. TNG permits mobile devices, but not standard devices (e.g. laptops) to switch between mobile and standard mode displays with a button click located in page footers. Appending "sitever=mobile" or "sitever=standard" in the page URL is necessary to switch displays on standard devices. With this mod installed, that isn't necessary. A button select facilitates a quick switch of mobile or standard mode displays on a the PC. In addition, Edit Options are offered to choose to have a switch display button in the footer, the header, or both..

  • The mod should work with all TNG's templates.
  • No template files are modified.
  • Note that in v15.x of the mod, in mobile mod the footer is omitted.

Developer

This mod was developed by Ron Krzmarzick.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
15.0.0.1 15.0 17 Feb 2025 Fix conflict with Scroll Mod
15.0.0.0 15.0 16 Feb 2025 Updated for TNG 15
12.3.0.0 13.0 30 Nov 2020 Initial Release

Conflicts and Issues

Proper sequence if using these two mods:

  1. Install Switch Mobile or Standard before Restrict Image Preview
  2. Uninstall Restrict Image Preview before Switch Mobile or Standard

Otherwise a 'clean' may be required.

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.

Edit Options

Select location of Switch Mode Display button
Footer Only = 0
Header Only = 1
Both Header and Footer = 2

Visualization

The following screen captures show the changes made by the mod:

Illustration of mod Edit Option = 2, Standard Mode Display, Template 5
Switchmobstan1.jpg
Illustration of mod Edit Option = 2, Mobile Mode Display, Template 5
Switchmobstan2.jpg

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
Roots & Relatives Remembered Ron Krzmarzick Mod Developer 15.0​.0​.1
TNG 15.0
EN,CS,DE
Treichel-Familie.de Andreas Treichel Public & Private 12​.3​.0​.0 14.0.2 DE,EN,FR,ES,PL
Stammbaum der Familie Datschetzky Christian Datschetzky Public 12.3.0.0 14.0.3 DE,EN
Our Roots&Relatives Kåre Kjøllesdal Private 15.0.0.1
TNG 15.0.1
NO,EN
MOTYER & BENJAMIN Family Genealogy (Bermuda branches) John Mark Motyer Public site See here See here EN