- Tham gia
- 28/02/2015
- Bài viết
- 16,829
- Được Like
- 12,687
Sau đây mình sẽ hướng dẫn các bạn thêm phần hiện thị like sau tiêu đề bài viết xenforo.
Vào thread_list_item tìm:
Sửa lại thành
Vậy là xong
Vào thread_list_item tìm:
Mã:
data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper wrap, $thread.title, 50}</a>
Sửa lại thành
Mã:
data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper wrap, $thread.title, 50}</a> ({$thread.first_post_likes} yêu thích)
Vậy là xong
Nguồn: muaban47.net
Bài viết liên quan
Bài viết mới