We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Blank pop-ups with TinyMCE and LG TinyMCE??

Development and Programming

made_with_motive's avatar
made_with_motive
14 posts
16 years ago
made_with_motive's avatar made_with_motive

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.

       
eddyfever's avatar
eddyfever
62 posts
16 years ago
eddyfever's avatar eddyfever

Did you already fixed this issue? Because i have the same problem.

       
Focus Lab Dev Team's avatar
Focus Lab Dev Team
1,129 posts
16 years ago
Focus Lab Dev Team's avatar Focus Lab Dev Team

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).

       
eddyfever's avatar
eddyfever
62 posts
16 years ago
eddyfever's avatar eddyfever

When i use the absolute path it doesn’t work at all iwch also really strange i think. I use it without MSM and E.E. 1.6.7.

       
bmschaaf's avatar
bmschaaf
171 posts
16 years ago
bmschaaf's avatar bmschaaf

Are you trying to access your site’s control panel by leaving off the subdomain?

For example, “example.com” vs. “www.example.com” - if so, add the subdomain and try again.

That did the trick for me.

       
shanecavaliere's avatar
shanecavaliere
16 posts
15 years ago
shanecavaliere's avatar shanecavaliere

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.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.