I installed TinyMCE wth LG extension, at first it would not appear above the fields it was supposed to in the CP publish form. So I discovered (eventually) this was because it was not picking up the tiny_mce.js through the absolute path (/scripts/tinymce/jsscripts/tiny_mce/tiny_mce.js), but when I changed this to the full relative path it appears fine (e.g. http://www.mysite.com/scripts/tinymce/jsscripts/tiny_mce/tiny_mce.js)…
Now this is working, but when I go to say add an image the pop-up window appears blank - this includes the ‘add image’, ‘add link’, ‘HTML’ windows.
So taking for example the ‘add image’ window, when I view source there is code there, but nothing shows, and the JavaScript links in the head are absolute (e.g. ../../utils/), but when I find the file and change the JS link to full relative path http:// etc., these changes won’t take effect. Window still blank and the links to JS I changed to full relative path are still absolute.
This is the errors I am getting when viewing console after opening ‘add image’ window…
Error: Permission denied to get property Window.tinymce
Source File: http://www.mywebpage.com/scripts/tinymce/jscripts/tiny_mce/tiny_mce_popup.js
Line: 5
Error: this.params is undefined
Source File: http://www.mywebpage.com/scripts/tinymce/jscripts/tiny_mce/tiny_mce_popup.js
Line: 5
If someone could please save my sanity and throw in a few suggestions it would be greatly appreciated!
Many thanks, G.
I have the same problem when running the multiple site manager and being on a different domain from the one with the system directory. I haven’t looked into it yet though, but perhaps there’s a TinyMCE setting we can define that has to do with an absolute path to the script (so it can load plugins and whatnot).
I had a similar problem with changing link URLs, and was able to fix it by changing “relative_urls : false” to “relative_urls : true” in the TinyMCE Config under Extension Manager > LG TinyMCE ‘Settings’.
See http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/relative_urls for more info on this.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.