[TYPO3-dev] Disable left menu from backend.php and putting alternative menu
Tapio Markula
tapio.markula at xetpoint.fi
Thu Mar 13 19:01:15 CET 2008
Hi
It would be nice to be able to disable left side menu from
backend.php, because it is possible to create new menu instead of that
using
// include extensions which may add css, javascript or toolbar items
if(is_array($GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']))
{
foreach($GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']
as $additionalBackendItem) {
include_once($additionalBackendItem);
}
I tried to add menu from tm_topapps
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']['topapps_menu']=t3lib_extMgm::extPath('tm_topapps')
. 'menu/index.php';
Worked otherwise ok except that the menu has been put *before* basic
declarations and HTML tag!
<div id="_web_tab" class="menuItems menu-normal" ...
<b>Warning</b>: Cannot modi...
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
<html>
<head>
that cause the warning
*Warning*: Cannot modify header information - headers already sent by
(output started at .../typo3conf/ext/tm_topapps/menu/index.php:101) in
*.../typo3conf/ext/tm_shared_lib/class.ux_template_4_2.php* on line *398
Any idea how to get the menu to the correct place
More information about the TYPO3-dev
mailing list