Page 1 of 3

TinyMCE problem

Posted: Tue Apr 08, 2008 6:38 pm
by leifnicholz
Hi!

I used to have TinyMCE Basic as my WYSIWYG editor and I upgraded it to TinyMCE version 2.4.0a2. Before the upgrade, everything was working fine but after i upgraded, whenever I try to edit pages the TinyMCE toolbars don't show and all I see is plain html code. Can anybody help me with this problem?

Thanks...

Re: TinyMCE problem

Posted: Tue Apr 08, 2008 8:28 pm
by Nullig
Have you gone into User Preferences (My Preferences/User Preferences off the Admin menu) and selected the WYSIWYG there?

Nullig

Re: TinyMCE problem

Posted: Tue Apr 08, 2008 9:04 pm
by leifnicholz
yes i did.. still no luck though.. all i see is the text field without the toolbars above it..

Re: TinyMCE problem

Posted: Mon Apr 21, 2008 11:09 pm
by maksum
Same issue here... only I didn't upgrade anything.  It's just gone.

Re: TinyMCE problem

Posted: Mon Apr 21, 2008 11:41 pm
by Silmarillion
This problem is begin investigated!

Soryy for the trouble...

sil.

Re: TinyMCE problem

Posted: Tue Apr 22, 2008 7:49 pm
by Silmarillion
Please check out the newly released beta2. Some changes were made which solved the problem for some people.

Sil.

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 12:50 pm
by mullank2
Hi,

I have the same problem was using 2.2.6 then it stopped working - upgraded to the latest 2.4.0b2 and still the same.

Please help!

Thanks,
Kevin

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 4:12 pm
by leifnicholz
Uninstall the latest version and install the TinyMCE Basic module, which is version 2.2.7. Apparently, the latest version is still in beta mode, which is causing the same problem for most of us.  ;)

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 5:04 pm
by jce76350
Hi,

The 2.4.0b2 works for me on several servers using windows Firefox 2.0.0.14
No toolbar using windows IE7  ;)
[edit]OK also on Firefox3 Beta5 under ubuntu 8.04rc

but you must valid the update button in  "Advanced" tab
and check advimage + advlink into "Plugins"  tab
Check also if into toolbar settings 2 you have cmslinker, and delete cmsmslink  into "Toolbar"  tab

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 7:30 pm
by xnau
I believe I may some insight on this problem. Just rooted it out on a site...

TinyMCE stopped showing up, and I was getting a javascript error in Firebug. something about a missing close curly brace.

It seems the "CMS linker" chokes on the menu text of a page if it includes a single quote. This is the fix I put in:

Around line 115 of tinyconfig.php:

Code: Select all

function AddEntry($menu,$entry) {
	global $config;
	$link="index.php?".$config['query_var']."=".$entry->mAlias;
	echo "					".$menu.".add({title : '".$entry->Hierarchy()." ".addslashes($entry->mMenuText)."', onclick : function() {
						var sel=tinyMCE.activeEditor.selection.getContent({format : 'text'});
						if (sel=='') sel='".addslashes($entry->mMenuText)."';
						tinyMCE.activeEditor.execCommand('mceInsertContent', false, '<a href=\"".$link."\">'+sel+'</a>');
					}});
";
}
You will note that the variable $entry->mMenuText has has the addslashes function added to it. This happens in two places. There may be other ways to fix the issue, but this worked for me.

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 7:48 pm
by jce76350
hi,
You will note that the variable $entry->mMenuText has has the addslashes function added to it. This happens in two places. There may be other ways to fix the issue, but this worked for me.
test your solution.
Do not work for me, No toolbar

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 7:53 pm
by leifnicholz
jce76350 wrote: hi,
You will note that the variable $entry->mMenuText has has the addslashes function added to it. This happens in two places. There may be other ways to fix the issue, but this worked for me.
test your solution.
Do not work for me, No toolbar
Yep,, does not work for me as well.. I tried the solution I suggested earlier as well but it doesn't work anymore.. I wonder what's wrong with this module?? Everything works fine with Firefox but not with IE..

Re: TinyMCE problem

Posted: Wed Apr 23, 2008 10:36 pm
by xnau
Sorry--I guess I posted in the wrong forum. I wasn't getting the editor at all, which is different from not getting the toolbar.

Re: TinyMCE problem

Posted: Thu Apr 24, 2008 4:31 pm
by leifnicholz
xnau wrote: Sorry--I guess I posted in the wrong forum. I wasn't getting the editor at all, which is different from not getting the toolbar.
No biggie,, you're just trying to help..  ;) Let's just hope they find a solution for this issue soon..

Re: TinyMCE problem

Posted: Sun Apr 27, 2008 2:48 pm
by Silmarillion
For TinyMCE-beta problems, please test latest beta3. Did some bugfixing for IE7 and got it working on my system at least.
Regards
Morten