// Install

This commit is contained in:
Damien Metzger
2013-11-18 19:22:10 +01:00
parent 770d48cf3c
commit a3e1fdb690
14 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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

+3 -3
View File
@@ -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;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB