rmorse / open-manager Goto Github PK
View Code? Open in Web Editor NEWA free TinyMCE File/Media Manager
A free TinyMCE File/Media Manager
Hello,
I have tried using this plugin and i am getting following error.
Uncaught TypeError: Cannot read property 'getEditor' of undefineda @ ckeditor.js:307CKEDITOR.replace @ ckeditor.js:311(anonymous function) @ 15:378x.Callbacks.l @ jquery.min.js:4x.Callbacks.c.fireWith @ jquery.min.js:4x.extend.ready @ jquery.min.js:4S @ jquery.min.js:4
bootstrap3-wysihtml5.all.min.js:2 'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
tinymce.min.js:4 GET /js/tinymce/plugins/openmanager/plugin.min.js e @ tinymce.min.js:4(anonymous function) @ tinymce.min.js:4o @ tinymce.min.js:2r.loadScripts.h @ tinymce.min.js:4r.loadScripts @ tinymce.min.js:4r.loadQueue @ tinymce.min.js:4t @ tinymce.min.js:9N.render @ tinymce.min.js:9r @ tinymce.min.js:9(anonymous function) @ tinymce.min.js:9o @ tinymce.min.js:2a @ tinymce.min.js:9i @ tinymce.min.js:2m @ tinymce.min.js:2o @ tinymce.min.js:2
tinymce.min.js:4 Failed to load:
js/tinymce/plugins/openmanager/plugin.min.js
I have also checked and there is no file plugin.min.js in folder . Please check and confirm where i am doing wrong.
Sajid
Hello,
I try to install OpenManager on TinyMCE 4. I followed instructions on the Wiki and changed files, but after, I don't know how it works ..
When I click on the folder button in "Insert Media", nothing happen.
Is it possible to have support please ?
Thanks
Samuel BAZNIAR
Hello. I just added your plugin to my Tinymce 3.4.2 and i have to say it is awesome however i think the script you used is supposed to upload several images but it only upload one image at a time. How do i do to enable it to upload several images ?
Thanks
The problem is when upload files with capital letters in names the original file is uploaded as is... but thumbnail is with low case and then the "Browse" function search for file with same name as thumbnail... which is not correct.
Index: public_html/resources/admin/assets/lib/tinymce/plugins/openmanager/php/fileactions.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- public_html/resources/admin/assets/lib/tinymce/plugins/openmanager/php/fileactions.php (revision 0878b50ed0a7ab47f53ebb83f7584c7a5817710c)
+++ public_html/resources/admin/assets/lib/tinymce/plugins/openmanager/php/fileactions.php (revision )
@@ -68,8 +68,8 @@
}
}
//set the desired destination filename
- $destination = $uploadfolder.$mediafolder.$name;
- $reldestination = $reluploadfolder.$mediafolder.$name;
+ $destination = $uploadfolder.$mediafolder.$filename.".".$fileext;
+ $reldestination = $reluploadfolder.$mediafolder.$filename.".".$fileext;
}
else
{//then we are uploading an image
@@ -97,7 +97,7 @@
}
//set the desired destination filename
- $destination = $uploadfolder.$imagesfolder.$name;
+ $destination = $uploadfolder.$imagesfolder.$filename.".".$fileext;
//now check for the existence of a file at the destination, if it exists we need to change the filename
if(file_exists($destination))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.