Maintenance functions

The maintenance form supports with sub forms several functions to check and repair the rsgallery2 image and database universe.

Each grey array is a button to click on. In most cases a sub form will open where more info or actions are provided

Base top

Base bottom


  • Rsgallery2 zone

    Handles slideshows and templates

  • Repair zone

    The image file system can be checked to match the database. Also the configuration can be checked here.

  • Danger zone

    Delete database entries and database structure

  • Raw database zone

    A window to the pure content of the database (lists)

  • Outdated zone

    Door to old view of functions like image/galleries lists

  • Upgrade (from 1.x / 2.x) zone

    Helpers after upgrading RSG2 from previous J!x versions

Rsgallery2 zone


(1) Slideshow configuration

Edit and check the configuration parameters of installed slideshows. Leads to a separate view for the edit of slideshow parameter.
See separate maintenance document ""

(2) Comments list

Enters list view of comments

(3) Template manager

Actually not working. (2014-2018)
In older version it had the function to upload slideshows and templates for the display of the gallery in frontend. These could be edited or deleted also.

Repair zone

(1) Configuration Raw edit

Lists all variables in alphabetical order. The values can be changed and saved

(2) Consolidate image database

(See separate maintenance document "")

(3) Check for left over upload files

(See separate maintenance document "")

(4) Regenerate display images


(5) Optimize database


Danger zone

(1) Purge tables (data) &delete all images


(2) Remove RSGallery2 tables and images


Raw database zone


The buttons lead to the pure content view of the database lists

(1) Configuration variables


(2) Images list


(3) Galleries list


(4) Comments list


Outdated zone

Door to old view of functions like image/galleries lists These buttons lead to the previous views of RSG2 around 2013 or beginning of J3x
the functionality is not granted as this old code is not maintained any more. Still it may be a hint what has improved over this time

(1) Configuration


(2) Mange galleries


(3) Manage images


(4) Upload single images


(5) Consolidated

Don't use. It is only listed for completeness

Upgrade (from 1.x / 2.x) zone

(1) Database

Repair missing database tables, table columns and ... This function reassigns the actual SQL definitions. Therefore new tables, new columns are added and not supported columns are removed

This is useful when upgrading from a real old version and general list can not be viewed

(2) Create gallery "access" field

On upgrade from 1.x this table field was missing. Here it it will be created and all values set to one

(3) Delete RSG2 base language files

ToDo: Wrong name Deletes RSGallery2 languages files in joomla base language folders. The RSG2 base translation files are located in ...\administrator\languages. These may overwrite new RSG2 language items kept in component language folder.
Use this function when an update installation does not overwrite "old" base language files and translations do not appear or appear as old.

Maintenance Slideshow configuration

Slidshow parameters can be changed here

Two files living within the slideshow code define the parameters and their values

  • templateDetails.xml

    Existing parameter and their default value are defined in section param.

  • params.ini

    The actual values are taken from this file. If a value is not defined here than the default value will be used.
    The format is parameter="value". The double quotes may be omitted

The slideshow code files reside in path on the server: ".../joomla/components/com_rsgallery2/templates/"

Path to edit configuration form

Goto maintenance -> Use button (1) Slideshow configuration


Slideshow edit configuration form


(1) Select the slideshow to edit

(2) Section slideshow parameter

The variables shown here are definitions for the slideshow prepared in Joomla edit format. These and their default value are defined in file templateDetails.xml in section "param".

On "Save parameter" all values are written into the params.ini file and will appear in below section

(3) Section slideshow file

The values in params.ini file set the actual used values and overwrite the default. Here the actual values are displayed in "INI" format. The format is parameter="value". The double quotes may be omitted. The values displayed are used when the slideshow is shown. If the file (text area) is empty then the standard values are used. The file is filled when the configuration parameters are saved. Lines with standard values are not needed and can be removed.

Save changes


The parameters may be saved by the buttons in the menu bar (1) or below the parameter area. (3)
The file area may be saved by the buttons in the menu bar (2) or below the parameter area. (4)


Reset to default values

Delete the content of the file params.ini in the below section and save it (button in below section). Afterwards save the parameters (button in above section). All default settings will appear in file parameter definition area.

Maintenance Consolidate image database