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


Discussion in 'XenForo Development Discussions' started by Mythotical, Jul 1, 2012.

  1. Mythotical

    Mythotical Well-Known Member

    I'm trying to create a custom drop down within thread list of a forum. Not sure what I need to do to get a list of items into a drop down list.

  2. Arty

    Arty Well-Known Member

    Wrap your code in <div class="Popup">, followed by link and then menu block that has class .Menu. Something like this:
    <div class="Popup">
        <a href="whatever" rel="Menu" data-closemenu="true">menu link</a>
        <div class="Menu JsOnly">
            menu block here
    For menu block (4th line in code I posted above) use code like this
    <div class="primaryContent menuHeader">
         <h3>Menu Title</h3>
        <ol class="secondaryContent blockLinksList">
            <li><a class="menuRow" href="whatever">Test Link</a></li>
    For examples of menu code look in following templates:
    • node_category_level_n.html (menu item) or node_forum_level_n.html
    • node_category_level_2.html (menu, code starts at beginning of second half of template) or node_forum_level_2.html
  3. Mythotical

    Mythotical Well-Known Member

    Thanks Arty, now I can get some sleep. LOL

Share This Page