$Use TNG Offline
![]() |
Downloads of $Use TNG Offline are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account | ![]() |
![]() |
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox | ![]() |
![]() |
This mod applies to TNG v12 and later to make it easier to mark TNG as working offline on a localhost computer using WampServer, XAMPP, Laragon, or other web servers on Windows or MacIntosh when you do not have Internet access. |
|
$Use TNG Offline | |||||
---|---|---|---|---|---|
Summary | Provides a quick way to mark TNG as working offline on a local web server when you have no Internet access | ||||
Validation | n/a | ||||
Mod Updated | 29 Sep 2020 | ||||
Download link | for
| ||||
Download stats | View download statistics | ||||
Author(s) | Ken Roy | ||||
Homepage | $Use TNG Offline (This page) | ||||
Mod Support | TNG Community Forums | ||||
Contact Developer | TNG Community Forums | ||||
Latest Mod | 12.0.0.1 for TNG V12 and later | ||||
Min TNG V | 12.0.0 | ||||
Max TNG V | 15+ | ||||
Files modified | config.php | ||||
Related Mods | |||||
Notes |
Introduction
This mod was developed when I lost my Internet access for over 24 hours recently. Since TNG is using more and more jQuery scripts, TNG has limited functionality on a localhost web server because the computer had no Internet connection
This mod is provided to make it easier to set TNG as working offline, without having to manually edit the config.php and hunt for the option to allow use of jQuery offline.
This could also be handy if you are at a family reunion at a park and want to show your relatives information from your genealogy web site. It simply sets the Setup > General Settings > Miscellaneous section option to indicate that you are working offline.
What I am using TNG offline means
Let me try to clarify what I am using TNG offline = Yes is meant to provide.
- First it is not meant to be enabled on Internet hosted websites, nor on local computers unless your Internet access is down or not available. That is the purpose of my $Use TNG Offline mod which you can install when you lose Internet access
- TNG uses jQuery from code.jquery.com to provide the toggles on the public side as well as the Admin Setup > General Settings page for example. So that site is not available when the Internet is down.
- Darrin added the "I am using TNG offline" option to TNG on my request so that I could continue to use my local computer to work on my site when my internet service is not available.
- The option bypasses any internet access calls when it is enabled. Enabling that option means jQuery is used locally and maps are not available because they come from the Internet
- The option is useful when you take a laptop to a family reunion at a park or some other location that does not have internet access so you can show your local web site to relatives
Hope that helps clarify what the I am using TNG offline is meant to provide. It is not meant to be enable just because you are on a local computer. You should download the mod and save it to your mods folder so you can install it if you are in an area where your internet is not available or where you have internet outages.
Developer
Ken Roy developed this mod.
Advantages
Since TNG is using more and more jQuery scripts, you may have major problems using your localhost web server if your computer has no Internet connection:
- None of the Toggles work because they depend on jQuery which TNG gets off the internet which is not available.
- Not able to change Setup > General Settings to indicate working off line, because you cannot toggle open the Miscellaneous section
- None of the jQuery script functions used in TNG - drag and drop, image tag, etc. will be working
- You will have to manually edit the config.php and update the offline option to
$tngconfig['offline'] = "1";
This mod is provided to make it easier to set TNG as working offline. This could also be handy if you are at a family reunion at a park and want to show your relatives information from your genealogy web site. It simply sets the Setup > General Settings > Miscellaneous section option to indicate that you are working offline.
Requirements
- A working TNG installation.
- A backup of your TNG config.php file.
Revision History
Version | Date | Contents |
---|---|---|
v12.0.0.2 | 28 Sep 2020 | Change mod internal %name to $Use TNG Offline so that it matches the mod rename to more appropriately match its purpose. |
v12.0.0.1 | 21 Aug 2020 | original version of mod to set TNG as working offline was originally named $Disable Internet Access |
Automated Installation
- Download the appropriate zip file from the Mod Summary in the upper right hand corner
- After downloading the zip file, unzip the config file into the mods folder on your local computer web server only
- Do not install the mod. It is provided so that you can easily and quickly mark TNG as working offline when you have no Internet access
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 | |||
---|---|---|---|---|---|---|---|---|
Our Roy and Boucher Family | Ken Roy | I developed this mod so I could quickly set TNG as offline when I have no Internet access, so I can work on my local computer site | 12.0.0.2 | 13.0 | EN, FR | |||
Hooley Family Links | Rick Hooley | Public/Private | See Here | See Here | EN | |||
Von den Isert's und den Schmidt's | Mabba | Local | 12.0.0.2 |
|
DE |