Hướng dẫn Hướng dẫn ẩn prefixes ở 1 số forum (Xen 1)

evolution123

Private
Mở Template thread_list_item
Thêm code này vào đầu tiên: Với các số array(135, 122, 123, 124) thay bằng id forum của bạn
Mã:
<xen:if is="in_array({$forum.node_id}, array(135, 122, 123, 124))">
<style>
.prefix {
display:none;
}
</style>
</xen:if>


Vài demo:
upload_2019-8-12_10-13-26.png


upload_2019-8-12_10-13-53.png
 
ACP -> Applications --> Node Tree
Chọn forum bạn cần bắt buộc chọn prefixes
Chọn tab Thread Prefixes kéo xuống tick vào ô Require users to select a prefix
 
Back
Top