Help: Mod Manager |
Overview The TNG 10.1 version of the Mod Manager is based on the Mod Manager originally developed by Brian McFadyen and updated by Sean Schwoere to work with the Joomla TNG Component. The Mod Manager combines the Mod List and Batch Updates provided in TNG 10.0.3 and 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 new Mod Manager provides a single line summary of the mod status which can be expanded to view the complete Description and errors when applicable. The Affected Files List can be displayed by hovering over the + plus sign in the Files column. You can also use the The Mod Manager is connected into the TNG Administrative page for easy access. The Mod Manager adds the following folders to TNG:
The Mod List tab now combines the previous Mod List and Batch Updates that was added by Rick Bisbee in TNG 10.0.3 to provide the capability to execute the same action against multiple mods. The Description and extended status can be displayed by clicking the right arrow in the Status column or anywhere on the line. Hovering over the line will high light the line to make it easier to select the status to expand. Hovering over the + plus sign in the Files column will display the Affected Files list, that is the files modified, created, and copied by this mod. The View Log tab was added by Ken Roy in TNG 10.0.3 to display the Mod Manager Log which is now split from the Admin Log. The Mod Manager log is the reformated log from the Mod Manager created by Rick Bisbee in TNG 10.03 for easier readability of the actions. The messages were also greatly simplified. The Options tab is a modification of the one added by Ken Roy in TNG 10.0.3 to allow changing some of the execution behavior of the Mod Manager. The Analyzer tab is an optional tab that can be enabled in the Options screen that allows you to view which mods change a specific TNG php script. Additional information can be found in the Mod Manager article and in the TNG Mod Manager category of articles on the TNG Wiki. |
Operation The Mod Manager examines the mods 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:
|
Status The Mod Manager returns the following status:
For examples of the Mod Manager Status screens and how to interpret the various statuses, see Mod Manager - Interpreting Status |
Mod Syntax The Mod Manager syntax basically includes: Header section that includes
Target sections that specify the file that is the target of the change and includes the following directives
New File directives that create the file when the mod is installed Copy File directives that copy the specified file to the TNG root (%copyfile) or to a subfolder (%copyfile2) For detailed information on the Mod Manager Syntax, see Mod Manager Syntax |
Config Files Installing ModsThe TNG Wiki provides information on Installing Config Files to install the TNG mods. Interpreting StatusThe TNG Wiki provides information on Interpreting Status. Config File SyntaxThe TNG Wiki provides information on the Mod Manager Syntax. Creating Config FilesThe TNG Wiki provides information for the mod developers on the Creating Config Files. |
Batch Operations The Batch Operations function introduced in TNG 10.0.3 as a Batch Updates tab is now combined in the Mod List and allows specific actions on multiple mods using the Select Filter. You must choose from the status filter list and click Go to display the available controls for the specific status selected. Delete is only available for the Clean Up status if you enable the Option, which we recommend that you leave as No, except for when you need to delete multiple mods in the Partially Installed status, such as a prior version of the same mod. Likewise there is a Delete Installed mods option that will allow deleting installed mods without removing them. This ootion was added to allow deleting previous versions of the same mod, if you forgot to delete them before installing the new version. Here again it is recommend that you leave the option as No and just enable it when needed. Caution:You should only use Batch Operations if you have a good backup of your website and can quickly restore it if the batch operations renders your site inoperable, which can easily happen if you do not delete previous versions of the mods. The Select Filter options are:
|
Options The Options allows you to specify some of the Mod Manager behavior for the Mod Manager Log Options
Display Settings Options
Other Options
|
Mod Conflict Analyzer Created by Rick Bisbee this tool located under the Analyzer tab was previously provided as a mod. The Mod Conflict Analyzer lets developers examine mods to see precisely how they interact with each other. Two mods changing the same block of code almost always results in Mod Manager errors. You must enable the Show Analyzer tab by setting the Options to Yes if want the Analyzer tab to be displayed. The analyzer works by examining every mod in the mods folder and cataloging which target files and which blocks of code each one modifies. It then lists the affected file names in the left hand column. Selecting one of those target files displays a list on the right showing all the mods that change it. Each mod shown on the right has a link to open a section of the page displaying the actual modifications made by the Mod Manager Config file. A user can compare changes to the target file to see where potential conflicts might be. This is helpful not only to find conflicts between two mods but also to know which mods need to be cleaned up and re-installed after replacing the given target file. The TNG Wiki provides additional information for the mod developers on Using the Mod Analyzer. |