You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Seifert d78b28cf21
add suggested package
1 year ago
Modules/Controller/Admin refine description 1 year ago add suggested package 1 year ago
IntelliSenseHelper.php refine description 1 year ago initial 1 year ago add suggested package 1 year ago add suggested package 1 year ago
composer.json add suggested package 1 year ago
metadata.php refine description 1 year ago

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 (

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.