XF 2.2 Changing the order of buttons (profile page customization)

Hotfix

Active member
Hello, many users of my community wish that the ABOUT page was shown before the PROFILE POSTS. Is this something that is possible to do?

The picture is taken from the profile page.

hurdles.webp
 
I managed to move the "About tab", but not the content:

Screenshot_2021-02-09 admin.png

Notice how the "About" tab shows the user's status.


Here's the change I did:

<!--[XF:tabs:start]--> <a href="{{ link('members/about', $user) }}" class="tabs-tab is-active" id="about" role="tab">{{ phrase('about') }}</a> <xf:if is="$user.canViewPostsOnProfile()"> <a href="{{ link('members', $user) }}" class="tabs-tab" role="tab" aria-controls="profile-posts">{{ phrase('profile_posts') }}</a> </xf:if> <a href="{{ link('members/recent-content', $user) }}" rel="nofollow" class="tabs-tab" id="recent-content" role="tab">{{ phrase('postings') }}</a> <!--[XF:tabs:after_members/recent-content--> <xf:if is="$user.canViewLatestActivity()"> <a href="{{ link('members/latest-activity', $user) }}" rel="nofollow" class="tabs-tab" id="latest-activity" role="tab">{{ phrase('latest_activity') }}</a>

Screenshot_2021-02-09 Create a New Pen(1).png

I just changed the order.


How can one match the page match with the tabs?
 
Back
Top Bottom