// Install
@@ -597,8 +597,8 @@ class InstallXmlLoader
|
|||||||
|
|
||||||
if (!@copy($from_path.$identifier.'.'.$extension, $dst_path.$entity_id.'.'.$extension))
|
if (!@copy($from_path.$identifier.'.'.$extension, $dst_path.$entity_id.'.'.$extension))
|
||||||
{
|
{
|
||||||
//$this->setError($this->language->l('Cannot create image "%1$s" for entity "%2$s"', $identifier, $entity));
|
$this->setError($this->language->l('Cannot create image "%1$s" for entity "%2$s"', $identifier, $entity));
|
||||||
continue;//return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($types as $type)
|
foreach ($types as $type)
|
||||||
|
|||||||
@@ -392,4 +392,3 @@ class InstallControllerHttpProcess extends InstallControllerHttp
|
|||||||
$this->displayTemplate('process');
|
$this->displayTemplate('process');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -509,6 +509,7 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
{
|
{
|
||||||
// @todo THIS CODE NEED TO BE REMOVED WHEN MODULES API IS COMMITED
|
// @todo THIS CODE NEED TO BE REMOVED WHEN MODULES API IS COMMITED
|
||||||
$modules = array(
|
$modules = array(
|
||||||
|
'blockbanner',
|
||||||
'bankwire',
|
'bankwire',
|
||||||
'blockadvertising',
|
'blockadvertising',
|
||||||
'blockbestsellers',
|
'blockbestsellers',
|
||||||
@@ -540,8 +541,8 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
'dashproducts',
|
'dashproducts',
|
||||||
'graphnvd3',
|
'graphnvd3',
|
||||||
'gridhtml',
|
'gridhtml',
|
||||||
'homefeatured',
|
|
||||||
'homeslider',
|
'homeslider',
|
||||||
|
'homefeatured',
|
||||||
'pagesnotfound',
|
'pagesnotfound',
|
||||||
'sekeywords',
|
'sekeywords',
|
||||||
'statsbestcategories',
|
'statsbestcategories',
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class BlockBanner extends Module
|
|||||||
|
|
||||||
public function install()
|
public function install()
|
||||||
{
|
{
|
||||||
Configuration::updateValue('BLOCKBANNER_IMG', 'store.jpg');
|
Configuration::updateValue('BLOCKBANNER_IMG', 'sale70.gif');
|
||||||
Configuration::updateValue('BLOCKBANNER_LINK', '');
|
Configuration::updateValue('BLOCKBANNER_LINK', '');
|
||||||
Configuration::updateValue('BLOCKBANNER_DESC', '');
|
Configuration::updateValue('BLOCKBANNER_DESC', '');
|
||||||
return parent::install() && $this->registerHook('displayTop') && $this->registerHook('header');
|
return parent::install() && $this->registerHook('displayTop') && $this->registerHook('header');
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
@@ -63,8 +63,8 @@ class HomeSlider extends Module
|
|||||||
if (parent::install() && $this->registerHook('displayHome') && $this->registerHook('actionShopDataDuplication'))
|
if (parent::install() && $this->registerHook('displayHome') && $this->registerHook('actionShopDataDuplication'))
|
||||||
{
|
{
|
||||||
/* Sets up configuration */
|
/* Sets up configuration */
|
||||||
$res = Configuration::updateValue('HOMESLIDER_WIDTH', '535');
|
$res = Configuration::updateValue('HOMESLIDER_WIDTH', '779');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_HEIGHT', '300');
|
$res &= Configuration::updateValue('HOMESLIDER_HEIGHT', '448');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_SPEED', '500');
|
$res &= Configuration::updateValue('HOMESLIDER_SPEED', '500');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_PAUSE', '3000');
|
$res &= Configuration::updateValue('HOMESLIDER_PAUSE', '3000');
|
||||||
$res &= Configuration::updateValue('HOMESLIDER_LOOP', '1');
|
$res &= Configuration::updateValue('HOMESLIDER_LOOP', '1');
|
||||||
@@ -86,7 +86,7 @@ class HomeSlider extends Module
|
|||||||
private function installSamples()
|
private function installSamples()
|
||||||
{
|
{
|
||||||
$languages = Language::getLanguages(false);
|
$languages = Language::getLanguages(false);
|
||||||
for ($i = 1; $i <= 5; ++$i)
|
for ($i = 1; $i <= 3; ++$i)
|
||||||
{
|
{
|
||||||
$slide = new HomeSlide();
|
$slide = new HomeSlide();
|
||||||
$slide->position = $i;
|
$slide->position = $i;
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 109 KiB |