Subject Information

Category Name XenForo 2.x Template modifications
TOPIC TITLE [CSCN] Moving Staff Tools to Nav Group
Thread starter AnimeHaxor
Start date
Replies
Views
First message reaction score
LAST MESSAGE BY AnimeHaxor

AnimeHaxor

Retro-NulledTeam
Staff member
Administrator
Moderator
Registered
Joined
Nov 22, 2015
Messages
6,354
Reaction score
42,360
Points
113
Website
www.nullscripts.net
Site Script
XenForo
AnimeHaxor submitted a new resource:

Put StaffBar into NavBar. - Put StaffBar into NavBar (not effective within @xf-responsiveNarrow).

View attachment 28848

Step 1: Edit PAGE_CONTAINER. Find the following block:
HTML:
            <div class="p-nav-opposite">
                <div class="p-navgroup p-account .....
And add this line right beneath this block: <xf:include template="template_pnavStaffBar" />
Then it looks like:
HTML:
            <div class="p-nav-opposite">
                <div class="p-navgroup p-account {{ $xf.visitor.user_id ? 'p-navgroup--member' : 'p-navgroup--guest' }}">...

Read more about this resource...
 

AnimeHaxor

Retro-NulledTeam
Staff member
Administrator
Moderator
Registered
Joined
Nov 22, 2015
Messages
6,354
Reaction score
42,360
Points
113
Website
www.nullscripts.net
Site Script
XenForo