Extension's configuration file variables
$EXTENSION['name'] - Extension unique ID, must be the same value as the current directory name, do not include spaces or special characters. All variables in the extension.config.php are accessible in SAPI through this name. Ex {$extension_name.version}.
$EXTENSION['title'] - Title is displayed in various places for the admin and editor for example when choosing a template, the extensions templates are grouped with this value.
$EXTENSION['description'] - Short description, may include HTML tags, displayed for example in the admin section under in the list of Extensions.
$EXTENSION['author'] - Author name, may include HTML tags, displayed for example in the admin section under in the list of Extensions.
$EXTENSION['version'] - Extension version number, displayed for example in the admin section under in the list of Extensions.
$EXTENSION['version_date'] - Version release date, format yyyy-mm-dd. Displayed for example in the admin section under in the list of Extensions.
$EXTENSION['icon_path'] - Path to the icon image, relative to the extensions root folder. Displayed for example in the admin section under in the list of Extensions.
$EXTENSION['min_saurus_version'] - Dependency: the minimum Saurus version required.
$EXTENSION['is_downloadable'] - Can be downloaded via CMS admin interface. 4.5.0
$EXTENSION['adminpages'] - Array of admin-pages which are displayed under Extensions menu.
Each admin-page consist of 2 values:
name - the name of the admin-page, as it appears in the admin section.
file - the admin page file, relative to the extensions root folder.
$EXTENSION['templates'] - Array of templates
Each template can have following values:
name - the name of the template as it appears in the admin and editor section.
file - the file of the template, relative to the extensions root folder.
is_page - set to 1 if the template is a page template.
is_visible - set to 1 if the template is visible for the content editors.
is_readonly - set to 1 if the template code can not be saved through admin section.
is_default - set to 1 if the template is a default content or page template. Extensions with default page templates are show on the Site Design page. 4.5.0
preview_thumb - preview thumbnail image file, relative to the extensions root folder. 4.5.0
preview - preview image file, relative to the extensions root folder. 4.5.0
file - the file of the template, relative to the extensions root folder.
is_page - set to 1 if the template is a page template.
is_visible - set to 1 if the template is visible for the content editors.
is_readonly - set to 1 if the template code can not be saved through admin section.
is_default - set to 1 if the template is a default content or page template. Extensions with default page templates are show on the Site Design page. 4.5.0
preview_thumb - preview thumbnail image file, relative to the extensions root folder. 4.5.0
preview - preview image file, relative to the extensions root folder. 4.5.0
$EXTENSION['smarty_plugins'] - Smarty plugins directory, relative to the Smaty library folder.
$EXTENSION['smarty_filters'] - array of Smarty filters to register, see details: Smarty filters
For an example of extensions config file look at the Sample or Saurus 4 default extension which ship with Saurus CMS, also here: Extension's configuration file
