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

Adding option to media gallery options?

Discussion in 'XenForo Development Discussions' started by Liam W, Jun 5, 2015.

  1. Liam W

    Liam W Well-Known Member

    Aside from the fact that it's giving me a headache, the media gallery options look, well, hmm, yeah.

    Anyway, how does another add-on add an option to the media gallery category? I've added the option to that category, but it isn't displaying... Is it now lost to the ether?

    Liam
     
  2. Jake B.

    Jake B. Well-Known Member

    You should be able to just create it in that group. I've tested and it seems to work fine oO
     
  3. Liam W

    Liam W Well-Known Member

    Yeah, looks like I have to use a specific display order value depending on the tab (I get redirected to a tabbed interface).

    Liam
     
  4. MtoR

    MtoR Well-Known Member

    Chris uses multiples of 100 to display the options in tabs (ie. 100 to 199 in first tab, etc...).
    So for now, yes your option is lost to ether :D

    See the code and you'll understand how it works ;)
     
  5. Jake B.

    Jake B. Well-Known Member

    You can just edit another option and change the ID in the URL to the one for the option that is 'lost'. So I would hardly call it 'lost to the ether' :)
     

Share This Page