6 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
a89b724253 make installable in OXID until 6.5.2 too 2023-06-28 14:05:27 +02:00
6d19c3cf49 adjust version informations 2023-06-28 14:03:49 +02:00
2b4f3a3db7 improve CHANGELOG.md 2023-06-28 14:00:35 +02:00
a790f60718 fix wrong method scope 2023-06-28 13:56:22 +02:00
4 changed files with 23 additions and 22 deletions

View File

@ -1,14 +1,24 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file.
--- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.0.0.1 (2021-12-13) ## [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
### Fixed
- fix wrong method scope
## [1.0.0.1](https://git.d3data.de/D3Public/sortedMenus/compare/1.0.0.0...1.0.0.1) - 2021-12-13
### Changed
- improve documentation - improve documentation
- add suggested package - add suggested package
--- ## [1.0.0.0](https://git.d3data.de/D3Public/sortedMenus/releases/tag/1.0.0.0) - 2021-12-11
### Added
## 1.0.0.0 (2021-12-11)
- initial implementation - initial implementation

View File

@ -24,18 +24,18 @@ class NavigationTreeSortedMenus extends NavigationTreeSortedMenus_parent
/** /**
* @param $dom * @param $dom
*/ */
public 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.9"
},
"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.0', '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/',