Help: Mod Manager

Overview

The TNG Mod Manager, originally developed by Brian McFadyen and updated by Sean Schwoere to work with the Joomla TNG Component, is intended to provide a more integrated way to install, remove and manage modifications to the TNG software package that have been coded to work with this manager. The Mod Manager is connected into the TNG Administrative page for easy access. The Mod Manager uses:

  • a mod_folder in the TNG admin folder to contain the Mod configuration files and associated Mod support files
  • an extensions in your TNG folder to contain some of the mod extensions that are installed by other Mod Manager config files

Additional information can be found in the Mod Manager article on the TNG Wiki.

Top

Operation

The Mod Manager examines the mod_folder and reads each cfg file that it finds. The cfg files are directive files that describe the mod, the files and locations to be modified, and the code that is used in the modification.

The Mod Manager checks the following:

  • ensures the user is logged in
  • examines each code location and change
    • ensures the location can be found
    • ensures the target location is unique
    • identifies whether the target location has already been installed
  • identifies new files to be created. If the new file already exists, it examines the version level

Top

Status

The Mod Manager returns the following status:

  • if the mod is not yet installed and the target locations can be identified, then the option to Install is presented
  • if the mod is completely installed, the option to Remove the Mod is presented and the option to Edit parameters if any exist
  • if the mod is partially installed, the option to Cleanup the Mod is presented. A Cleanup operation will attempt to remove any inserted code, restore and replaced code, and remove any created file.

For examples of the Mod Manager Status screens and how to interpret the various statuses, see Mod Manager - Interpreting Status

Top

Config Files

Installing Mods

The TNG Wiki provides information on using the Config Files to install the mods.

Config File Syntax

The TNG Wiki provides information on the Config File Syntax.

Creating Config Files

The TNG Wiki provides information for the mod developers on the Creating Config Files.