Increase height in ACP - Tăng chiều cao trong ACP (Filter List, Template Edit, và Node Tree)

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
16,829
Được Like
12,688
Increase height in ACP - Tăng chiều cao trong ACP (Filter List, Template Edit, và Node Tree)

1. Chỉnh sửa library/config.php bao gồm dòng:
Mã:
$config['debug'] = true;

2. vào khu vực Admin của bạn, và bạn sẽ thấy một tab Development ở đầu trang. Đến đây.

3. Click Admin Templates. Vào template: "template_edit" và tìm:
Mã:
xen:textboxunit name="template" value="{$template.template}" label="{xen:phrase template}:" rows="20" code="true" class="fullWidth surplusLabel" id="templateTextarea">

4. Thay đổi 20 trong rows="20" với một số bất kì theo ý thích, ví dụ 35.

5. Click vào "Save and Exit", sau đó thay đổi filter critera của bạn với "filter_list" vào template "filter_list.css".

6. Tìm:
Mã:
.FilterList .Scrollable
{   
    max-height: 403px;   
    overflow: auto;
}

7. Thay đổi 403 với một số bất kì theo ý thích, ví dụ 703.

8 Click vào "Save and Exit".

9. Trở lại /library/config.php và thêm // trước debug:
Mã:
// $config['debug'] = true;

Bây giờ template editor, template filter list, và node list sẽ có một chiều cao lớn hơn.

Chúc các bạn thành công.

Nguồn: xenforo.com​
 
  • Like
Reactions: THB

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mr. Tuấn

Mobile/Zalo: 0988 488 096

Telegram: bluekpro

Email: [email protected]

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Top Bottom