TinyMCE problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
leifnicholz

TinyMCE problem

Post 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...
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: TinyMCE problem

Post by Nullig »

Have you gone into User Preferences (My Preferences/User Preferences off the Admin menu) and selected the WYSIWYG there?

Nullig
leifnicholz

Re: TinyMCE problem

Post by leifnicholz »

yes i did.. still no luck though.. all i see is the text field without the toolbars above it..
maksum
Forum Members
Forum Members
Posts: 14
Joined: Thu Jan 03, 2008 6:09 am

Re: TinyMCE problem

Post by maksum »

Same issue here... only I didn't upgrade anything.  It's just gone.
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: TinyMCE problem

Post by Silmarillion »

This problem is begin investigated!

Soryy for the trouble...

sil.
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: TinyMCE problem

Post by Silmarillion »

Please check out the newly released beta2. Some changes were made which solved the problem for some people.

Sil.
mullank2
New Member
New Member
Posts: 3
Joined: Wed Apr 23, 2008 11:53 am

Re: TinyMCE problem

Post 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
leifnicholz

Re: TinyMCE problem

Post 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.  ;)
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: TinyMCE problem

Post 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
Last edited by jce76350 on Wed Apr 23, 2008 7:26 pm, edited 1 time in total.
Jean-Claude Etiemble MyPageFr
xnau
Forum Members
Forum Members
Posts: 33
Joined: Sun Apr 15, 2007 6:53 pm

Re: TinyMCE problem

Post 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.
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: TinyMCE problem

Post 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
Jean-Claude Etiemble MyPageFr
leifnicholz

Re: TinyMCE problem

Post 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..
xnau
Forum Members
Forum Members
Posts: 33
Joined: Sun Apr 15, 2007 6:53 pm

Re: TinyMCE problem

Post 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.
leifnicholz

Re: TinyMCE problem

Post 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..
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm
Location: Denmark

Re: TinyMCE problem

Post 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
Locked

Return to “Modules/Add-Ons”