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 showing up

Development and Programming

JohnD's avatar
JohnD
114 posts
17 years ago
JohnD's avatar JohnD

OK - I am to blame for this because I like to use the tinyMCE compressor - it speeds things up quite well in my application. Since my clients cannot handle EE’s very fine CP, (wimps,) I do all entries and edits via the SAEF.

In the latest versions of tinyMCE this (the compression feature) requires two back-to back initiation scripts, one for the compressor and one for the rest.

Because I hardly ever use the CP Publish, I had neglected to change the EE settings for tinyMCE when I installed the latest version of tinyMCE, so everything worked, only the EE settings were not invoking compression and I did not notice.

But when I tried to help with this post, I thought I better duplicate my latest settings from my SAEF into the EE extension. Bad move, because the extension cannot handle back-to-back initiations.

So I was actually introducing another bug with the same symptoms - humble apologies.

To atone, maybe this will be useful to someone:

Placing the compressor in the CP settings for tinyMCE requires modification of the EE extension so that it does not put in the

...

pairs and the initiation call and closure, since that screws things up. But then the actual settings have to include those in the appropriate places.

Hopefully this does not violate security … or some other thing of which I am ignorant.

Since I may be a minority in having a need for the compression ability, I will not elaborate further unless others are interested. I just wanted to explain what was going on.

I apologize for causing an unnecessary detour, and I still don’t know why Martin was having trouble.

Derek - really glad you are not pissed off.

       
Derek Jones's avatar
Derek Jones
7,561 posts
17 years ago
Derek Jones's avatar Derek Jones

Not at all, JohnD, and I’m happy you got it working and shared the information. I’m sure someone else will likely benefit. I think the XSS cleaning in the forums is removing some of your code from the codeblock for safety, so I’m displaying what I think you intended below.

//<![CDATA[ ... //]]>
       
AbbeyDesign's avatar
AbbeyDesign
3 posts
16 years ago
AbbeyDesign's avatar AbbeyDesign

I’m having trouble here also. I’ve tried everything in this string. Everything is installed correctly. In fact I am working with two different ee sites with the same install but only one works. The only difference is the servers.

So with that nugget(two different servers). Is there some setting server wise that would create this problem?

I can enable the extension. I can assign WYSIWYG to any Custom Weblog Field… but when I go to “Edit” or “Publish”, there are no icons at the top.

EE version 1.6.7 TinyMCE (1.1.5) (I have also tried LG TinyMCE 1.3.3) Safari and Firefox both not showing. Viewing the activity log all scripts apparently load without error.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Make sure that the directory you’ve placed the code in is not being restricted based on an .htaccess file.

       
AbbeyDesign's avatar
AbbeyDesign
3 posts
16 years ago
AbbeyDesign's avatar AbbeyDesign

When I saw your post, I had an aha moment. I am using the .htaccess to rid my site of the dreaded index.php and in doing so have caused myself many a headache.(Curse you ee and your index.php!(I still love you ee)).

But sadly no. I updated my .htaccess file and still nothing. Here’s the code maybe I have it wrong?

Before

RewriteEngine on
RewriteCond $1 !^(images|ee_system_xxx|charts|documents|themes|index\.php|admin\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]

After

RewriteEngine on
RewriteCond $1 !^(images|ee_system_xxx|charts|documents|themes|Scripts|index\.php|admin\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]
       
tcblack's avatar
tcblack
1 posts
16 years ago
tcblack's avatar tcblack
When I saw your post, I had an aha moment. I am using the .htaccess to rid my site of the dreaded index.php and in doing so have caused myself many a headache.(Curse you ee and your index.php!(I still love you ee)). But sadly no. I updated my .htaccess file and still nothing. Here’s the code maybe I have it wrong? Before
RewriteEngine on
RewriteCond $1 !^(images|ee_system_xxx|charts|documents|themes|index\.php|admin\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]
After
RewriteEngine on
RewriteCond $1 !^(images|ee_system_xxx|charts|documents|themes|Scripts|index\.php|admin\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]

You’re on the right track. Instead of using the full URL in the TinyMCE Script Path, try

../tinymce/jscripts/tiny_mce/tiny_mce.js

This is working for me, if the tinymce folder is next to the system folder at webroot.

       
1 2

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.