From db5e6d5ea2702c0b6b4836ad6513d19c5412b48a Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Mon, 22 Jun 2026 12:16:00 +0200 Subject: [PATCH] Support for PrestaShop 8.2.x, 9.1.x, develop & Cleanup of all dead code --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- README.md | 4 ++-- dashactivity.php | 8 +------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1deac3a..b953f9a 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -4,7 +4,7 @@ Thank you for contributing to the PrestaShop project! Please take the time to edit the "Answers" rows below with the necessary information. Check out our contribution guidelines to find out how to complete it: -https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/#pull-requests +https://devdocs.prestashop.com/8/contribute/contribution-guidelines/#pull-requests ------------------------------------------------------------------------------> | Questions | Answers diff --git a/README.md b/README.md index 8e73778..6bf97bd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Check in one glance what is happening on your store with a list of KPI on your d ## Compatibility -PrestaShop: `1.7.7.0` or later +PrestaShop: `8.2.0` or later ## How to test Link to specs: https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/improve/modules/product-comments-productcomments @@ -37,5 +37,5 @@ This module is released under the [Academic Free License 3.0][AFL-3.0] [report-issue]: https://github.com/PrestaShop/PrestaShop/issues/new/choose [prestashop]: https://www.prestashop-project.org/ -[contribution-guidelines]: https://devdocs.prestashop.com/1.7/contribute/contribution-guidelines/project-modules/ +[contribution-guidelines]: https://devdocs.prestashop.com/8/contribute/contribution-guidelines/project-modules/ [AFL-3.0]: https://opensource.org/licenses/AFL-3.0 diff --git a/dashactivity.php b/dashactivity.php index 5d677e8..9e725fc 100755 --- a/dashactivity.php +++ b/dashactivity.php @@ -41,7 +41,7 @@ public function __construct() parent::__construct(); $this->displayName = $this->trans('Dashboard Activity', [], 'Modules.Dashactivity.Admin'); $this->description = $this->trans('Check in one glance what is happening on your store with a list of KPI on your dashboard.', [], 'Modules.Dashactivity.Admin'); - $this->ps_versions_compliancy = ['min' => '1.7.7.0', 'max' => _PS_VERSION_]; + $this->ps_versions_compliancy = ['min' => '8.2.0', 'max' => _PS_VERSION_]; } public function install() @@ -62,12 +62,6 @@ public function hookActionAdminControllerSetMedia() { if (get_class($this->context->controller) == 'AdminDashboardController') { $this->context->controller->addJs($this->_path . 'views/js/' . $this->name . '.js'); - $this->context->controller->addJs( - [ - _PS_JS_DIR_ . 'date.js', - _PS_JS_DIR_ . 'tools.js', - ] // retro compat themes 1.5 - ); } }