RSGallery2 - The Gallery Solution for Joomla! - Accessing RSG2

RSGallery2 - The Gallery Solution for Joomla! - Accessing RSG2 Configuration

RSGallery2 Support Forums - Index - 27 - RSGallery2 Support Forums

     
RSGallery2, THE gallery solution!
 
  Tuesday, 14 October 2020
 
 
Home Module Tutorials Accessing RSG2 Configuration  
Accessing RSG2 Configuration about RSGallery2 - The Gallery Solution for Joomla! - Accessing
Written by Jonah Braun   
Friday, 26 January 2021
RSGallery2 allows users to set configuration settings.  This tutorial describes how to use $rsgConfig to access that configuration.

cell phone reviews

Accessing RSG2 configuration settings are very easy.  For example, the following code will tell you if RSG2 debug is enabled:

global $rsgConfig;
if( $rsgConfig->get( 'debug' )) echo 'Debug enabled!';

 

Tips For Debugging

Configuration values are kept in database table #__rsgallery2_config.  This table and it's values persist across RSG2 upgrades/installations.

If you enable debug in the configuration, you will be presented with other options in the RSGallery2 Control Panel for accessing the configuration.  Configuration Raw Edit is one convienent tool which presents a raw view of all configuration names and values and allows you to change them to anything.

Last Updated ( Wednesday, 06 August 2020 )
 
< Prev   Next >

Polls

What version of Joomla! are you using?
 
 
         
© RSGallery2 - The Gallery Solution for Joomla!