#16315Patch for gmenu_layers and tmenu_layers to make it more semantics correct
Description
If the user create GMENU_LAYER or TMENU_LAYER then all submenus will be putted to a div direct after body TAG. This make it impossible to read the menu without javascript and CSS. Here is mi little patch which make it possible to define the position from submenu manual with this typoscript:
1 = GMENU_LAYERS
1{
setHtmlPositionManual=1
moveJsToExternal=1
NO = 1
NO{
allWrap = |###SUBMENU###
}
}
The ###SUBMENU### will be replaced with the submenu. The same technique cann be applied on file tmenu_layers.php too.
With this patch can you also move the js to external file with moveJsToExternal setting.
(issue imported from #M3784)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.