What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

XF1 Navigation Tabs to Sidebar Block

Status
Not open for further replies.

Fred

Administrator
Staff member
How do i find the navbar id ?

Though I provide some indication in the option description, it might seem a bit hard for you to find out the ids to input. Let's guide you though this !

Before you start searching for the id, you need to check that your browser has the capability to inspect the DOM. You can find that by doing a right click anywhere in the page, if your browser does have it you should see an Inspect menu item.

Once you have checked that you have the capability, it's time to start inspecting the DOM !

On the navbar link you would like to push to the sidebar navigation block, do a right click and select Inspect.

You should be seeing something like on the screenshot herebelow. In my example, I did for the Resources Manager navtab link.

Navigation_Tabs_to_Sidebar_Block___Xen_Factory.png

So as you can see, there are multiple <li> tags that all start with the class navTab. This corresponds to all the navtab links.

The id you are searching for is the second class, just after navTab, in the classes list.

So ? Well in my case, I would input "resources" in the admincp option in order to move the Resources link to the sidebar block. Easy no ? :)
 

Fred

Administrator
Staff member
Do you have a list of known ids ?

Well yes of course !

Here are some examples of known ids:
  • XenForo Resources Manager: resources
  • XenForo Media Gallery: xengallery
  • [XFA] Tournaments: tournaments
  • [XFA] Votings System: votings
  • [XFA] Medias Contest: medias-contest
  • [XFA] Members Map: members-map
 

Fred

Administrator
Staff member
Widget import

Once you have installed the product, if you have Widget Framework, you will need to import the widget to get the navigation block to display.

For that go to your admin cp, on the Appearance tab and then click on the Import Widgets (1). Then import the file widget_xfa_tsbn.xml from the archive (2).

Import_widget.png

The widget is now imported, just go to the List Widgets page if you want to change the page on which the navigation block is displayed.
 
Status
Not open for further replies.
Top