[TYPO3-dev] Disable left menu from backend.php and putting alternative menu
Tapio Markula
tapio.markula at xetpoint.fi
Fri Mar 14 23:27:22 CET 2008
Ingo Renner kirjoitti:
> Tapio Markula wrote:
>
> what about the following is not clear to you?
>
>> // include extensions which may add css, javascript or toolbar items
>
> does it say anything about menus?
> However, there's not even a need for what you're trying be (most likely)
> rewriting the complete core. Just use CSS to reposition and restyle the
> existing menu. It's so much easier now that we use ul/li.
>
>
> damn!
If I would use so-called suckerfish menu in principle I could with CSS
turn the menu from left to top - you are partially right in that
*but* the ul li menu has also some related JS, which is harmful and I
might need some other Js (needed for IE 6, if wanted supported).
Because of related JS your solution is not ok.
I tried to use
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']
and follow hints of Steffen but I have problems to do it like
in 'opendocs' core extension.
That failed but XCLASS for backend.php worked except the result is
invalid HTML.
require_once(t3lib_extMgm::extPath('tm_topapps').'menu/index.php');
cause that the part of tm_topapps has been read a way that it comes to
the top of the page before doctype, xml declarations and the html tag.
Note that putting require_once... *EVERYWHERE* cause the same effect!
Problem is that MS IE doesn't work in standard-compliant mode, which
must take account setting CSS.
More information about the TYPO3-dev
mailing list