Bước 1:
Vào Module ~> Forum widgets management. Trong bảng Forum widgets general options:
Display forum widgets : chọn Có
Width column 1 (left) : điền 180
Width column 3 (right) : điền nhiu cũng dc ( tốt nhất là 0 )
Sau đó đặt widget như hình :
Nhấn vào bánh xe màu vàng để sửa cấu hình:
Number of recent topics : nhiu cũng dc (forum mình chọn 12).
Activate the recent topics scrolling : chọn không
Bước 2:
Vào Display ~> template ~> portal ~> chọn mod_recent_topics:
thay tất cả code trong đó bằng code sau:
- Code:
-
<table style="border:#CCCCCF 1px solid;" width="100%">
<!-- BEGIN classical_row --> <tr>
<th height="25" colspan="3"><span class="genmed" width="100%"><b><center>Bài gửi sau cùng keke</center></b></span></th>
</tr>
<tr><td class="catHead" align="center"><span class="genmed">Bài gửi</span></td><td class="catHead" align="center"><span class="genmed">người gửi</span></td><td class="catHead" align="center"><span class="genmed">thời gian</span></td><!-- BEGIN recent_topic_row -->
<tr>
<td class="row1" align="left" width="50%"><span class="gensmall">
[�] <a href="{classical_row.recent_topic_row.U_TITLE}">{classical_row.recent_topic_row.L_TITLE}</a></td><td class="row1" align="center" width="25%"> <span class="gensmall"><a href="{classical_row.recent_topic_row.U_POSTER}">{classical_row.recent_topic_row.S_POSTER}</span></a> </td><td class="row1" align="left" width="25%"> <span class="gensmall">{classical_row.recent_topic_row.S_POSTTIME}<br />
</span></td>
</tr><!-- END recent_topic_row -->
<!-- END classical_row --></table>
Bước 3: Vào Display ~> template ~> quản lí tổng thể ~> chọn overall_header_new, Ctrl + F
Tìm:
Code:
- Code:
-
<td valign="top" width="{C1SIZE}">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
</td>
Thay bằng:
Code:
- Code:
-
<td valign="top" width="100%">
<div id="center">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
</td>
</tr>
<tr>
Các bạn nhớ chú ý là khi thao tác trong template :
- Lúc bạn thay đổi trong template nào đó VD: trong overall_header_new . Xong bạn bấm nút "Chấp nhận" nó sẽ hiện ra ngoài lít template và báo " Template has been saved " Lúc này vẫn chưa xong. Bạn sẽ thấy cái phần template mà bạn thay đổi chuyển sang màu đỏ . Hãy bấm hình "dấu cộng " để xác nhận lại 1 lần nữa cho nó chuyển sang màu xanh. Hãy kiểm tra kĩ lại các thao tác nếu vẫn hem được hãy liên hệ với Administartor để biết thêm chi tiết sửa chữa nha