Help Đổi vị trí giới thiệu hồ sơ cho xenforo 2

hainamit

Private
Tham gia
14/10/2018
Bài viết
22
Được Like
1
Có ai giúp em đổi vị trí ở mục giới thiệu ra tab đầu tiên được không ạ.
Click vào tên ai đó là vào mục giới thiệu luôn ạ.
Em cảm ơn ạ
 

Đính kèm

  • Screenshot_20201103-205837_Chrome.jpg
    Screenshot_20201103-205837_Chrome.jpg
    176.1 KB · Lượt xem: 23

Alexandra

Corporal
Tham gia
17/10/2017
Bài viết
100
Được Like
53
Vào template member_view cắt đoạn code:
Mã:
<a href="{{ link('members/about', $user) }}"
                    class="tabs-tab is-active"
                    id="about"
                    role="tab">{{ phrase('about') }}</a>
di chuyển lên trên, ngay bên dưới <span class="hScroller-scroll">

Tiếp theo xóa is-active trong đoạn code:
Mã:
<xf:if is="$user.canViewPostsOnProfile()">
                    <a href="{{ link('members', $user) }}"
                        class="tabs-tab is-active"
                        role="tab"
                        aria-controls="profile-posts">{{ phrase('profile_posts') }}</a>
                </xf:if>
 

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