Your Ad Here
The Settings manager is essentially the life blood of your OneCMS install, almost everything required for the CMS to function properly can be found here.

OneCMS 2.6.4 implemented a new way of storing and calling OneCMS settings, the new system is far more extendible and even easier to use. Instead of having to fool around with phpMyAdmin and decipher a confusing database structure you can now add new settings and categories straight from the Settings admin area. If you ever need to access the settings table via phpMyAdmin the table will hopefully be easier to read.

Add New Settings

To add a new settings simply follow these steps
  1. In the Settings admin panel, click the category you wish to add the setting to
  2. At the bottom of the page click "Add Setting"
  3. Fill in the appropriate values and click submit

Using Settings

To use a setting simply call it using the following scheme,

$setting[settingname];


For example, suppose we wanted to call the siteurl setting,

$setting[siteurl];


You shouldn't face any problems calling settings within OneCMS, if you do please make sure the following is called in your file,

global $setting;


If you wish to extend the settings code further you can access the code in the config.php file.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki