Go to file
Daniel Seifert a89b724253
make installable in OXID until 6.5.2 too
2023-06-28 14:05:27 +02:00
Modules/Controller/Admin fix wrong method scope 2023-06-28 13:56:22 +02:00
CHANGELOG.md adjust version informations 2023-06-28 14:03:49 +02:00
IntelliSenseHelper.php refine description 2021-12-12 00:09:42 +01:00
LICENSE.md initial 2021-12-11 13:19:54 +01:00
README.en.md add suggested package 2021-12-13 14:37:33 +01:00
README.md add suggested package 2021-12-13 14:37:33 +01:00
composer.json make installable in OXID until 6.5.2 too 2023-06-28 14:05:27 +02:00
metadata.php adjust version informations 2023-06-28 14:03:49 +02:00


deutsche Version english version

D³ Sortable admin menus for OXID eShop

The module offers the possibility to sort the admin menus into a desired order.

The side menu on the left and the tabs in each individual area can be sorted. The action links of the areas are also configured via the menu.xml, but are loaded in the template in a fixed order.

The entries can only be moved in the currently selected level.


In the console in the shop root (above source and vendor), execute the following command:

php composer require d3/sortedmenus

Activate the module in the admin area of the shop in "Extensions -> Modules".


For the sake of simplicity, the configuration is done directly in the configuration file of the shop (config.inc.php).

Insert the following configuration as an example:

$this->d3MenuSorting = [
    // mainmenu
    'move articles and order panels in front'   => [
        'xpath' => "//OX/*[@id='NAVIGATION_ESHOPADMIN']/MAINMENU",
        'order' => ['mxmanageprod', 'mxorders']
    // submenu
    'move vouchers in shop settings to front'   => [
        'xpath' => "//OX/*[@id='NAVIGATION_ESHOPADMIN']/*[@id='mxshopsett']/SUBMENU",
        'order' => ['mxvouchers']
    // tabs
    'show category picture tab as first'    => [
        'xpath' => "//OX/*[@id='NAVIGATION_ESHOPADMIN']/*[@id='mxmanageprod']/*[@id='mxcategories']/TAB",
        'order' => ['tbclcategory_pictures']

Each entry defines the sortable elements in the entire menu tree with the XPath specification. The XPath can be determined in the respective menu.xml. Describe the XPath as precisely as possible (ideally using the unique ELement IDs), otherwise the elements to be moved could end up in the wrong area.

In the order entry, the IDs of the contained entries are in the correct order. Entries that are not contained are automatically appended to the end of the sorted list in the previous sort order.

After changing the sorting entries, the tmp folder must be emptied.


See CHANGELOG for further informations.

Licence of this software (d3/sortedmenus)

(status: 2021-12-11)

Copyright (c) D3 Data Development (Inh. Thomas Dartsch)

This software is distributed under the GNU GENERAL PUBLIC LICENSE version 3.

For full copyright and licensing information, please see the LICENSE file distributed with this source code.