Adding option to media gallery options?

Liam W

in memoriam 1998-2020
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
 
You should be able to just create it in that group. I've tested and it seems to work fine oO
 
Yeah, looks like I have to use a specific display order value depending on the tab (I get redirected to a tabbed interface).

Liam
 
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 ;)
 
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' :)
 
Top Bottom