Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="package" version="3.0" method="upgrade">
<name>CMS Extensions</name>
<author>James Beauchamp</author>
<creationDate>October 2014</creationDate>
<packagename>cmsextensions</packagename>
<version>2014.10.29</version>
<description>Package of currently used CMS extensions</description>
<files folder="packages">
<file type="module" id="mod_addtomenu">addtomenu-v3.1.0.zip</file>
<file type="component" id="com_advancedmodules">advancedmodulemanager-v4.16.9.zip</file>
<file type="component" id="com_aclmanager">com_aclmanager_v2.4.4.zip</file>
<file type="component" id="com_admintools">com_admintools-3.1.1-core.zip</file>
<file type="plugin" id="accordionfaq" group="content">joomla_3_0_plg_accordionfaq_3_0_6.zip</file>
<file type="module" id="mod_accordeonck">mod_accordeonck_2.0.9_j30.zip</file>
<file type="module" id="mod_custom_js">mod_custom_js16.zip</file>
<file type="plugin" id="easyfrontendseo" group="system">pkg_easyfrontendseo_v3-2.zip</file>
<!--<file type="package" id="pkg_jcksuite">pkg_jcksuite_6.5.8_forj.3.2.zip</file>-->
<file type="plugin" id="plg_content_cdmagictabs" group="content">plg_content_cdmagictabs_2.5.x.2.0.9.zip</file>
<file type="plugin" id="plg_system_cdscriptegrator" group="system">plg_system_cdscriptegrator_2.5.x.2.3.6.zip</file>
<file type="template" id="yoo_nano3">yoo_nano3_j32.zip</file>
</files>
<scriptfile>install.php</scriptfile>
</extension>
Code: Select all
class pkg_cmsextensionsInstallerScript
{
public function preflight($route, JAdapterInstance $adapter)
{
if(!version_compare(JVERSION, '3.3.6', 'ge')) {
$msg = "<p>You need Joomla! 3.3.6 or later to install this package.</p>";
JError::raiseWarning(100, $msg);
return false;
}
return true;
}
}