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 * …

Member Avatar
+0 forum 0

Hello, I am trying to integrate TinyMCE with RoxyFileManager. Can anyone help me with the process ? Thanks in advance. Cek my code below. I wonder what I should place for the selector selector:'textarea' or selector: '#tinymce' ? http://www.roxyfileman.com/TinyMCE-file-browser <!DOCTYPE html> <html> <head> <script src="js/jquery-1.7.1.js"></script> <script src="js/jquery-3.1.1.min.js"></script> <script type="text/javascript" src="js/tiny_mce/tiny_mce_popup.js"></script> <script src="js/tiny_mce/tiny_mce.js"></script> <script>tinymce.init({ selector:'textarea' });</script> <script> $(function() { tinyMCE.init({selector: '#tinymce', plugins: 'link image', toolbar: "link | image", file_browser_callback: RoxyFileBrowser}); }); function RoxyFileBrowser(field_name, url, type, win) { var roxyFileman = '/fileman/index.html'; if (roxyFileman.indexOf("?") < 0) { roxyFileman += "?type=" + type; } else { roxyFileman += "&type=" + type; } roxyFileman …

Member Avatar
+0 forum 0

The End.