2 Commits

Author SHA1 Message Date
cc1eddaf51 set version 2.0.0.0 2025-06-20 15:05:09 +02:00
0238e124c8 add support 7.x 2025-06-20 15:04:02 +02:00
4 changed files with 11 additions and 16 deletions

View File

@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://git.d3data.de/D3Public/sortedMenus/compare/1.0.0.2...rel_1.x) ## [Unreleased](https://git.d3data.de/D3Public/sortedMenus/compare/1.0.0.2...rel_1.x)
## [2.0.0.0](https://git.d3data.de/D3Public/sortedMenus/compare/1.0.0.1...1.0.0.2) - 2025-06-22
### Fixed
- add support for 7.x
## [1.0.0.2](https://git.d3data.de/D3Public/sortedMenus/compare/1.0.0.1...1.0.0.2) - 2023-06-27 ## [1.0.0.2](https://git.d3data.de/D3Public/sortedMenus/compare/1.0.0.1...1.0.0.2) - 2023-06-27
### Fixed ### Fixed
- fix wrong method scope - fix wrong method scope

View File

@ -24,18 +24,18 @@ class NavigationTreeSortedMenus extends NavigationTreeSortedMenus_parent
/** /**
* @param $dom * @param $dom
*/ */
protected function _addLinks($dom) protected function addLinks($dom)
{ {
$this->d3SortMenus(); $this->d3SortMenus();
parent::_addLinks($dom); parent::addLinks($dom);
} }
public function d3SortMenus() public function d3SortMenus()
{ {
$sorting = Registry::getConfig()->getConfigParam('d3MenuSorting'); $sorting = Registry::getConfig()->getConfigParam('d3MenuSorting');
if (false === is_array($sorting) || false == count($sorting)) { if (false === is_array($sorting) || !count($sorting)) {
return; return;
} }

View File

@ -26,24 +26,15 @@
"GPL-3.0-or-later" "GPL-3.0-or-later"
], ],
"require": { "require": {
"php": ">=7.0", "oxid-esales/oxideshop-ce": "7.0 - 7.3"
"oxid-esales/oxideshop-ce": "6.1 - 6.14"
},
"extra": {
"oxideshop": {
"blacklist-filter": [
"*.md",
"composer.json"
],
"target-directory": "d3/sortedmenus"
}
}, },
"extra": {},
"suggest": { "suggest": {
"d3/disableadminelements": "hide menu items in the shop admin panel" "d3/disableadminelements": "hide menu items in the shop admin panel"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"D3\\SortedMenus\\": "../../../source/modules/d3/sortedmenus" "D3\\SortedMenus\\": ""
} }
} }
} }

View File

@ -32,7 +32,7 @@ $aModule = [
'en' => '', 'en' => '',
], ],
'thumbnail' => '', 'thumbnail' => '',
'version' => '1.0.0.2', 'version' => '2.0.0.0',
'author' => 'D³ Data Development (Inh.: Thomas Dartsch)', 'author' => 'D³ Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com', 'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/', 'url' => 'https://www.oxidmodule.com/',