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

TinyMCE not appearing on CP publish form field

Development and Programming

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

Originally I had TinyMCE installed, with LG Tiny MCE extension (both latest versions with EE 1.6.7), I had it working fine, but was getting a blank pop-up when trying to ‘insert’ image from the edit bar.

After trawling the web, and reading various posts I could not find a solution. So I decided to delete TinyMCE, remove the LG Tiny MCE extension, clear the cache and install everything again.

Now I can’t even see the editor even though the path is correct (/scripts/tinymce/jscripts/tiny_mce/tiny_mce.js).

Previously I had it installed in ‘tinymce/tiny_mce.js’, could something in EE still be looking for it there, even though I have cleared cache and re-installed all the files?

Been 6-8 hours at this now! And client has bought MCImageManager, so have to get it working. Have read other posts relating to this problem, but none have worked for me.

Anyone any light they could shed on this it would be a BIG help! :down:

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

Further to this I have checked the code of the publish form, as advised by Levi G. in another post, and the field DOES have the “class=’lg_mceEditor’” property

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

Could anyone please help me on this, or point me in the right direction for correcting this. When I look at the Web Developer Error console, I get this

Error: tinyMCE is not defined Source File: http://mywebpage.com/system/index.php?S=4a893cb7df6cfc93c131065cf2b58d25e73e05fa&C=publish&M=entry_form&weblog_id=15 Line: 2535

Could the above be something to do with the TINYMCE editor not appearing? Some help would be great on this.

Cheers

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

That error means that the tinyMCE Javascript file isn’t getting called. It is very possible that you’ve got some leftover crap in your extensions table in EE – i’ve noticed that sometimes they don’t uninstall cleanly. It’s also possible that there’s a path issue somewhere else.

First thing to do: View Source on your Publish page. It’ll be HUGE. Then, do a find for tiny_mce.js and figure out what path it’s actually being called from. That should give you some clues as to what’s wrong.

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

Thanks for this Adrienne, I changed the script URL to full address (http://mysite.com/scripts/tinymce/jscripts/tiny_mce/), rather than /scripts/tinymce/jscripts/tiny_mce. This now works…

I am now getting blank pop-ups when clicking the buttons, ‘add image’, ‘HTML’ etc. Would this be a Javascript problem also?

Thanks again

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

The above is bringng up the follow errors:

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

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Hm. Does in fact sound like a path issue with Javascript, but it’s just … odd. Hm. If you’d like to PM me, I can see if I can help you get sorted out.

       

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.