extbase - Setting the order of TYPO3 BE module -
i registered module , submodule in extbase extension common code , of course works:
/** myext modules group */ tx_extbase_utility_extension::registermodule($_extkey, 'myext', '', '' ,array(), array( 'icon' => 'ext:' . $_extkey .'/ext_icon.gif', 'access' => 'user,group', 'labels' => 'lll:ext:' . $_extkey . '/resources/private/language/locallang_myext.xml', ) ); /** myext items list mod */ tx_extbase_utility_extension::registermodule($_extkey, 'myext', 'itemslist','', array('item' => 'list',), array( 'icon' => 'ext:' . $_extkey . '/resources/public/icons/mod_items.gif', 'access' => 'user,group', 'labels' => 'lll:ext:' . $_extkey . '/resources/private/language/locallang_myext_items.xml', ) );
my problem can't change ordering in anyway, displays @ end of left column (after help section). 4-th param of registermodule
method position anyway apparently doesn't affect main module, submodules.
so how can place myext right after web
? in such case?
i'm working on typo3 ver.: 4.7
i sorry, missunderstood you. mean own category want set specified position.
there no official way can manual reset order following code:
// add module before 'file' if (!isset($tbe_modules['yourextensioncategory'])) { $temp_tbe_modules = array(); foreach($tbe_modules $key => $val) { if ($key == 'file') { $temp_tbe_modules['yourextensioncategory'] = ''; $temp_tbe_modules[$key] = $val; } else { $temp_tbe_modules[$key] = $val; } } $tbe_modules = $temp_tbe_modules; }
Comments
Post a Comment