How do I create a fully customised Xenforo Menu

Lone Wolf

Well-known member
Initially I was planning on inserting a dropdown menu (and seperate header) over the forum and perhaps hiding the built in XenForo menu. However the menu in the Flexile Theme looks so good that I'd like to keep XenForo's menu.

What I'd like to do is insert menu options (see attatched 'custom menu options' pic) to non-XF pages into the XF menu but I already know how to do that.

What I dont know is how to make my new menu options drop down like the Forum, Members and Help tabs do (see attatched image 'drop down lists'). I'd also like to add menu options to non-XF pages in the submenu (see attatched image 'sub menu options') as well.

In the Forums tab I'd like to add options for the different forums. Eg Forums ---> Forum 1 --> Forum 2, etc

In the other menu tabs I'd like to add drop down and sub menu options which would lead to non-Xenforo pages (to Wordpress categories instead).

Does anyone know how to achieve this?
 

Attachments

  • custom_menu_options.webp
    custom_menu_options.webp
    8.4 KB · Views: 32
  • sub_menu_options.webp
    sub_menu_options.webp
    5.8 KB · Views: 26
  • drop_down_lists.webp
    drop_down_lists.webp
    12 KB · Views: 24
Here is an example of how you can add more sublinks under a specific navtab:

http://xenforo.com/community/threads/add-latest-threads-to-navbar.8502/

The above thread also shows the code for the entire "Forums" tab including sublinks. You can duplicate that code within the navigation template and make appropriate changes to create a new navtab. If you are a programmer then you can create an addon to make use of $extraTabs which is already available in the template:

http://xenforo.com/community/threads/add-own-navigation-tabs.5265/

Or if you only require a basic navtab (no popup or sublinks) then see this thread:

http://xenforo.com/community/threads/how-to-add-a-new-tab-in-the-navbar.7781/
 
Top Bottom