Project

General

Profile

Actions

Bug #16315

closed

Patch for gmenu_layers and tmenu_layers to make it more semantics correct

Added by Juraj Sulek over 18 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2006-07-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

gmenu_layers.php (20.8 KB) gmenu_layers.php Administrator Admin, 2006-07-03 14:02
gmenu_layers_repaired.php (20.9 KB) gmenu_layers_repaired.php Administrator Admin, 2006-07-04 09:45
Actions #1

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.

Actions #2

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!

Actions #3

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.

Actions

Also available in: Atom PDF