Bug #16315
closedPatch for gmenu_layers and tmenu_layers to make it more semantics correct
0%
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)
Files
Updated by Juraj Sulek over 18 years ago
sorry i have attached wrong file. The new file "gmenu_layers_repaired.php" is the correct file.
Updated by Martin Kutschker over 16 years ago
Still an issue for you? Then please post your patch according to the guidelines on the typo3.teams.core list. It's open for contributions!
Updated by Juraj Sulek over 16 years ago
I think you can close this bug. There are allready better ways to make the menu semantic correct.