Skip to content

Commit

Permalink
Merge pull request #3 from sendsmaily/hotfix/installation-version-che…
Browse files Browse the repository at this point in the history
…ck-and-removed-unused-css-folder

Changed version check to match new versions, readme update, removed css folder and config.xml file
  • Loading branch information
sinukaarel authored Dec 18, 2018
2 parents 95276aa + c98dbf9 commit 81a2f7a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 54 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Smaily for Prestashop

> **DISCLAIMER**
> Plugin is still in development and currently being reviewed by PrestaShop. Use at your own discretion before fully finished. All bug reports are welcome under issues tab.
## Description

Smaily email marketing and automation extension module for PrestaShop.
Expand Down
13 changes: 0 additions & 13 deletions config.xml

This file was deleted.

12 changes: 5 additions & 7 deletions smailyforprestashop.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public function __construct()
$this->author = 'Smaily';
$this->need_instance = 0;
$this->ps_versions_compliancy = array(
'min' => '1.7',
'max' => '1.7.4.2'
'min' => '1.7.0',
'max' => _PS_VERSION_
);
$this->bootstrap = true;

Expand Down Expand Up @@ -230,15 +230,13 @@ public function hookDisplayFooterBefore($params)
));
return $this->display(__FILE__, 'smaily_blocknewsletter.tpl');
}
// Add Css, JQuerry and module javascript.
// Add JQuerry and module javascript.
public function hookDisplayBackOfficeHeader()
{
// Add Css.
$this->context->controller->addCSS(array($this->_path.'views/css/smaily_module.css'));
// Add JQuerry before module javascript.
$this->context->controller->addJquery();
// Add module javascript.
if (Tools::getValue('configure') === $this->name) {
// Add JQuerry before module javascript.
$this->context->controller->addJquery();
$this->context->controller->addJS(array($this->_path.'views/js/smaily_module.js'));
}
}
Expand Down
31 changes: 0 additions & 31 deletions views/css/index.php

This file was deleted.

Empty file removed views/css/smaily_module.css
Empty file.

0 comments on commit 81a2f7a

Please sign in to comment.