General developer forum

File picker modal

 
Picture of Callum Booth
File picker modal
 

Hi,


I'm trying to create a custom form within an amd module which on a button click initialises the file picker modal in repository/filepicker.js however struggling to get it working.


I know you can use mform and the filepicker/filemanager type within an amd module but it should be fine with a custom form as atto and tinymce.


Does anyone know of any examples where they have been able to show the filepicker modal through an amd module, as currently i've only seen it working when using yui.


Any help is appreciated.


Thanks

Callum

 
Average of ratings: -
Picture of Callum Booth
Re: File picker modal
 

bump

 
Average of ratings: -