New Post Button in Post - Thêm nút Đăng Bài Mới trong bài viết cho XenForo 2
Đơn giản chỉ cần vào ACP --> Template --> thread_view và tìm:
Thay bằng đoạn code sau:
Chúc các bạn thành công.
Đơn giản chỉ cần vào ACP --> Template --> thread_view và tìm:
Mã:
<xf:breadcrumb source="$forum.getBreadcrumbs()" />
Thay bằng đoạn code sau:
Mã:
<xf:breadcrumb source="$forum.getBreadcrumbs()" />
<xf:pageaction if="$forum.canCreateThread()">
<xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--cta" icon="write">
{{ phrase('post_thread') }}
</xf:button>
</xf:pageaction>
Nguồn: xenforo.com
Bài viết liên quan
Bài viết mới