[XE] 1.7에서 어드민바를 코딩 한 줄로 어떻게 지울 수 있을까요? ^^
사용하는 레이아웃 디렉토리에 보면 layout.html 파일이 있습니다.
맨 윗줄에 이 한 줄만 입력해보세요.
{Context::set("admin_bar", "false")}
이제 홈페이지를 새로고침해보세요. ;)
/common/tpl/common_layout.html 에 69번째 줄 삭제
<include target="../../modules/admin/tpl/admin_bar.html" cond="$logged_info->is_admin=='Y' && !$isAdminKind && Context::get('current_module_info')->module_type == 'view' && Context::get('admin_bar') != 'false'" />
[이 게시물은 만키로군님에 의해 2019-08-28 10:26:24 관리자에서 이동 됨]