Here's yet another question in regard to the new(ish) 3.5 "Add Media" popup and how to customize it!
What I'm trying to do
I'm attempting to do four main things: 1) Create a custom tab titled "Flickr Uploads"; 2) Customize the text that is displayed in the upload button
; 3) Populate the select
dropdown with external API
sorting options (in other words unset
the default options and set
my own... only for the custom tab); 4) change the photos that are displayed to ones from an external API
and still be able to add tags, descriptions, etc... in the right-side-bar.
What I've managed to do
With the use of the gist by @Fabien Quatravaux I have completed steps 1) and 2)
in the list above ... but, I'm having some trouble figuring this stuff out. This is what is being displayed:
Where I need help to finish
As you can see I still need to figure out how to customize the select
dropdown options, display the meta-data
inputs in the right-side-bar, as well as make the images select the right way and get the button to interact the same as on the "Insert Media" tab.
I have barely messed with jQuery
let-alone Backbone
... so, needless to say I am quite lost in what to do. I don't know where to start.
Thank you for any help!
Flickr Uploads
) will inherit content from any tab selected before it ... Example: click on theInsert from URL
tab then selectFlickr Uploads
it will display the content that wasrender
ed on the other tab ... NOTE: will do this with all tabs. Anymodels
I should look at?