Подскажите как удалить меню типа left из шаблона, так чтобы рабочая часть начиналась с левого края, где было меню?
18.01.2013 17:43:37
Подскажите как удалить меню типа left из шаблона, так чтобы рабочая часть начиналась с левого края, где было меню?
|
|
|
|
18.01.2013 19:22:42
header.php шаблона,удалить содержимое между тегами td class="left-column">[/td]
Останется только один столбец [td][/td] |
|
|
|
18.01.2013 19:34:54
в том то и дело что таблицы не описаны
<? includetemplatelangfile(__file__); ?> <!do ctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <ht ml xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> {padding-left:0px; padding-right:0px; border-left:none; border-right:none;} <head> <title><?$application->showtitle()?></title> [*]/favicon.ico" /> [*]/common.css" /> <?$application->showhead();?> <!--[if lte ie 6]> <st yle type="text/css"> #support-question { background-image: none; filter: progid :d ximagetransform.microsoft.alphaimageloader(src='./images/question.png', sizingmethod = 'crop'); } #support-question { left: -9px;} #banner-overlay { background-image: none; filter: progid :d ximagetransform.microsoft.alphaimageloader(src='./images/overlay.png', sizingmethod = 'crop'); } </style> <![endif]--> [*]/colors.css" /> </head> <body> <div id="page-wrapper"> <div id="panel"><?$application->showpanel();?></div> <div id="header">
<div id="search"> <?$application->includecomponent("bitrix:search.form", "flat", array( "page" => "#site_dir#search/index.php" ;) , false ;) ;?> </div> </div> <?$application->includecomponent("bitrix:menu", "top", array( "root_menu_type" => "top", "menu_cache_type" => "y", "menu_cache_time" => "36000000", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array( ;) , "max_level" => "1", "child_menu_type" => "left", "use_ext" => "n", "allow_multi_select" => "n" ;) , false );?> <div id="content-wrapper"> <div id="content"> <?if($application->getcurpage(false)==site_dir):?> <div id="banner"> <div id="banner-image"><?$application->includefile( site_dir."include/banner.php", array(), array("mode"=>"html" ;) ;) ;?></div>
</div> <?else:?> <div id="breadcrumb"> <?$application->includecomponent("bitrix:breadcrumb", ".default", array( "start_from" => "1", "path" => "", "site_id" => site_id ;) , false );?> </div> <?endif?> <div id="workarea-wrapper"> <div id="left-menu"> <?$application->includecomponent("bitrix:menu", "tree", array( "root_menu_type" => "leftfirst", "menu_cache_type" => "y", "menu_cache_time" => "36000000", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => "", "max_level" => "4", "child_menu_type" => "left", "use_ext" => "n", "allow_multi_select" => "n", "show_last_level_buttons" => "y" ;) , false, array( "active_component" => "y" ;) );?> </div> <div id="workarea"> <div id="workarea-inner"> <h5><?$application->showtitle(false);?></h5> |
|||||
|
|
18.01.2013 20:54:55
в этом же и вопрос что после удаления из шаблона левого меню, колонка остается, непонятно как ее удалить чтобы текст начинался с левого края
|
|
|
|
18.01.2013 21:41:38
так нужно в стилях представления в файле template_styles.css, отредактировать размещение.
предположительно
|
|||||
|
|
18.01.2013 22:18:40
спасибо
|
||||
|
|
|||