1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I create a fully customised Xenforo Menu

Discussion in 'XenForo Questions and Support' started by Lone Wolf, May 13, 2011.

  1. Lone Wolf

    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?
     

    Attached Files:

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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/
     
    Oracle and Shelley like this.

Share This Page