You are not logged in.
#1 2010-04-21 15:02:55
- stiller
- Member
- Registered: 2008-04-07
- Posts: 5
FileManager integrating with TinyMCE
Hi
I've integrated FileManager in TinyMCE (3.3.3). With TinyMCE we had some problems about the same origin policy - every pop up in tinyMce was blank. But after we write the code for the "cross domain loading" (http://wiki.moxiecode.com/index.php/Tin … in_loading) it works fine. But now the FileManager doesn't work anymore. It still brakes when it's open (it's says it's loading, you never see the files). The filesystem path is write, because if i open the filemanager directly (not through TinyMCE) it works.
Did anyone know whats wrong?
Thanks + regards
thomas
Offline
#2 2010-04-21 17:34:59
Re: FileManager integrating with TinyMCE
You need to add a document.domain setting to that as well. Add it to the top of the jquery file or something else that gets loaded by all pages.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#3 2010-04-23 07:01:28
- stiller
- Member
- Registered: 2008-04-07
- Posts: 5
Re: FileManager integrating with TinyMCE
Hi Spocke
thanks for your answer. But unfortunaltey it didn't work by me. I tryed to put the document.domain information at all js files i could find in the plugins/filemanager: mcfilemanager.js and js/mcfilemanager.js I couldn't find any jquery files.
thanks a lot for your detailed informations where i have to put it.
Best regards
thomas
Offline
#4 2010-04-23 10:05:27
Re: FileManager integrating with TinyMCE
Should work just fine:
Add the document.domain value to the top of filemanager\pages\fm\js\jquery\jquery.js
You might also need to clear the server cache, delete all files in:
filemanager\js\_cache\
It must be the same value as the one in your main page and in the dialogs of TinyMCE.
tiny_mce\tiny_mce_popup.js
It should work just fine as long as the domains are within the same root domain.
Best regards,
Spocke - Main developer of TinyMCE
Offline
© 2003-2010