oman Well-known member Jun 14, 2018 #2 To add a custom menu tab in the main menu, within your AdminCP head to Setup, Public navigation. From here, you will be able to see and modify all the default navigation tabs. You will also be able to add new navigation tabs. The following section in the XenForo Docs will help you get started - https://xenforo.com/xf2-docs/manual/navigation/ Upvote 0 Downvote
To add a custom menu tab in the main menu, within your AdminCP head to Setup, Public navigation. From here, you will be able to see and modify all the default navigation tabs. You will also be able to add new navigation tabs. The following section in the XenForo Docs will help you get started - https://xenforo.com/xf2-docs/manual/navigation/
Jimmy Vu Member Sep 17, 2021 #3 How can you enable the customed links only visible for logged-in users? And also, how can you customize the icon infront of the nav button text? Upvote 0 Downvote
How can you enable the customed links only visible for logged-in users? And also, how can you customize the icon infront of the nav button text?
P Paul B XenForo moderator Staff member Sep 17, 2021 #4 Jimmy Vu said: How can you enable the customed links only visible for logged-in users? Click to expand... Use $xf.visitor.user_id in the Display condition field. Jimmy Vu said: And also, how can you customize the icon infront of the nav button text? Click to expand... XF doesn't have icons for nav items out of the box. If you are using a third party style you can check with the author. Otherwise, for the default style there are various posts and resources explaining how to do it: https://xenforo.com/community/resources/font-awesome-icons-in-navbar-for-2-1.6817/ Upvote 0 Downvote
Jimmy Vu said: How can you enable the customed links only visible for logged-in users? Click to expand... Use $xf.visitor.user_id in the Display condition field. Jimmy Vu said: And also, how can you customize the icon infront of the nav button text? Click to expand... XF doesn't have icons for nav items out of the box. If you are using a third party style you can check with the author. Otherwise, for the default style there are various posts and resources explaining how to do it: https://xenforo.com/community/resources/font-awesome-icons-in-navbar-for-2-1.6817/
Mr Lucky Well-known member Sep 17, 2021 #5 Brogan said: XF doesn't have icons for nav items out of the box. Click to expand... But surely you can just put a FA icon in the title field. I did that on my site and it appears to work for my info tab Code: <i class="fas fa-info" aria-hidden="true"></i> Info Upvote 0 Downvote
Brogan said: XF doesn't have icons for nav items out of the box. Click to expand... But surely you can just put a FA icon in the title field. I did that on my site and it appears to work for my info tab Code: <i class="fas fa-info" aria-hidden="true"></i> Info
P Paul B XenForo moderator Staff member Sep 17, 2021 #6 You can do that with your own custom entries, but you can't with the core entries as dev mode needs to be enabled. Upvote 0 Downvote
You can do that with your own custom entries, but you can't with the core entries as dev mode needs to be enabled.