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.
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[ ... //]]>
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.
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]
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? BeforeAfterRewriteEngine on RewriteCond $1 !^(images|ee_system_xxx|charts|documents|themes|index\.php|admin\.php) [NC] RewriteRule ^(.*)$ /index.php/$1 [L]
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.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.