davy_yg 2 Posting Whiz

Hello,

I download free filemanager to integrate with TinyMCE.

I am trying to customize another extension to upload to Roxyfilemanager. Can anyone help me with the customization?

Please read this quickly:

http://www.roxyfileman.com/custom-integration

and Here is my custom.js:

function FileSelected(file){
/**
* file is an object containing following properties:
* 
* fullPath - path to the file - absolute from your site root
* path - directory in which the file is located - absolute from your    site root
* size - size of the file in bytes
* time - timestamo of last modification
* name - file name
* ext - file extension
* width - if the file is image, this will be the width of the original image, 0 otherwise
* height - if the file is image, this will be the height of the original image, 0 otherwise
* 
*/
alert('"' + file.fullPath + "\" selected.\n To integrate with CKEditor  or TinyMCE change INTEGRATION setting in conf.json. For more details see the Installation instructions at http://www.roxyfileman.com/install."); }

I do not know what to add to the code so that I could upload pdf to file manager. Can anyone help me out?

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.