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