|Downloads of Template Switch 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 are having trouble downloading with the Google Chrome browser, try another browser|
|Summary||Enables Template Switching on TNG User Pages.|
|Mod Updated||07 Nov 2020|
|Homepage||Roots & Relatives Remembered|
|Mod Support||TNG Community Forums|
|Latest Mod||184.108.40.206 for TNG 13.0 , 12.3 for TNG 12.3|
|Min TNG V||13.0|
|Max TNG V||13.0.1|
Purpose of the Mod
Template Switch Adds template switching capability to all TNG pages. This mod has been used by the author to switch templates on any page while testing mods with TNG's templates (TNG 13 has 20, TNG 12.3 has 18). It could also be used to offer multiple templates to users. It permits changing templates quickly without having to go to the Admin:Setup:Template Setting page. The template selection button is centered at the top of the footer. In lieu of a full preview, color aids are added to the template drop list if you forget the template number but remember a template's primary color.
On some sites the mod installs OK, but selecting a template is ineffective. Until this is fixed, a possible workaround is to install the error reporting Prolog_Mod, which, for reasons unknown, resolves the issue.
In Admin:Setup, set Enable Template Selection = 'Yes'
Note:The mod assumes all the default TNG templates are installed and all associated template folders are present. If not, modify the form options to match your installed tempplate folders in the _template_select.php module found in the mod support folder. Selecting a template which doesn't exist can result in a session restart being required. The mod does not alter the setting in Admin:Setup:Templates, but when the session is logged off, will return to that default template. The TNG admin_setup.php is the only Admin page that will not be affected by a template switch.
The only difference in the mod version 220.127.116.11 is the template droplist has 18 templates configured instead of 20.
Usage can be restricted by session type:
- admin user only = 1
- registered users only = 2
- open access = 3
- Default = 2
TNG Modules Impacted
The following TNG files are modified.
Note that no template files are modified.
- Unzip the received file directly in your mods folder, usually 'mods', sub directory of your TNG installation or root folder.
- Use Mod Manager to Install the Mod
Known Mod Conflicts
None at release.
In Event of a Problem
Use Mod Manager to Uninstall the mod.
Visualization of this mod
|Illustration of Template Switch select box position in footer.|
|Illustration of template drop list.|
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
If you have any problems, private message me on the forum.
|Roots & Relatives Remembered||Ron Krzmarzick||Mod's Developer||v18.104.22.168||v13.0.1||EN,CS,DE|