Welcome, Guest. Please login or register.
Did you miss your activation email?
23 Jul 2008, 14:09

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1] 2
Print
Author Topic: TinyMCE problem  (Read 1590 times)
0 Members and 1 Guest are viewing this topic.
leifnicholz
Forum Member
*

Karma: 1
Offline Offline

Posts: 174

Location: Olympia, WA



« on: 08 Apr 2008, 14:38 »

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...
Logged

I'm using:
     • CMSMS 1.3.1 "Havana"
     • IIS 5 on Windows XP Pro
     • PHP 5
     • MySQL 5
Nullig
Power Poster
***

Karma: 53
Online Online

Posts: 1447

Location: White Rock, BC



« Reply #1 on: 08 Apr 2008, 16:28 »

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

Nullig
Logged

When Irish eyes are smiling, they're usually up to something.
leifnicholz
Forum Member
*

Karma: 1
Offline Offline

Posts: 174

Location: Olympia, WA



« Reply #2 on: 08 Apr 2008, 17:04 »

yes i did.. still no luck though.. all i see is the text field without the toolbars above it..
Logged

I'm using:
     • CMSMS 1.3.1 "Havana"
     • IIS 5 on Windows XP Pro
     • PHP 5
     • MySQL 5
maksum
Forum Member
*

Karma: 0
Offline Offline

Posts: 14


« Reply #3 on: 21 Apr 2008, 19:09 »

Same issue here... only I didn't upgrade anything.  It's just gone.
Logged
Silmarillion
Dev Team Member
Power Poster
*****

Karma: 11
Offline Offline

Posts: 298

Location: Denmark



« Reply #4 on: 21 Apr 2008, 19:41 »

This problem is begin investigated!

Soryy for the trouble...

sil.
Logged
Silmarillion
Dev Team Member
Power Poster
*****

Karma: 11
Offline Offline

Posts: 298

Location: Denmark



« Reply #5 on: 22 Apr 2008, 15:49 »

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

Sil.
Logged
mullank2
Forum Member
*

Karma: 0
Offline Offline

Posts: 1


« Reply #6 on: 23 Apr 2008, 08:50 »

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
Logged
leifnicholz
Forum Member
*

Karma: 1
Offline Offline

Posts: 174

Location: Olympia, WA



« Reply #7 on: 23 Apr 2008, 12:12 »

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.  Wink
Logged

I'm using:
     • CMSMS 1.3.1 "Havana"
     • IIS 5 on Windows XP Pro
     • PHP 5
     • MySQL 5
jce76350
Power Poster
***

Karma: 11
Offline Offline

Posts: 764

Location: Rouen



WWW
« Reply #8 on: 23 Apr 2008, 13:04 »

Hi,

The 2.4.0b2 works for me on several servers using windows Firefox 2.0.0.14
No toolbar using windows IE7  Wink
[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 Edit: 23 Apr 2008, 15:26 by jce76350 » Logged

Jean-Claude Etiemble  @bC
xnau
Forum Member
*

Karma: 0
Offline Offline

Posts: 22


« Reply #9 on: 23 Apr 2008, 15:30 »

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:
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.
Logged
jce76350
Power Poster
***

Karma: 11
Offline Offline

Posts: 764

Location: Rouen



WWW
« Reply #10 on: 23 Apr 2008, 15:48 »

hi,

Quote
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
Logged

Jean-Claude Etiemble  @bC
leifnicholz
Forum Member
*

Karma: 1
Offline Offline

Posts: 174

Location: Olympia, WA



« Reply #11 on: 23 Apr 2008, 15:53 »

hi,

Quote
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..
Logged

I'm using:
     • CMSMS 1.3.1 "Havana"
     • IIS 5 on Windows XP Pro
     • PHP 5
     • MySQL 5
xnau
Forum Member
*

Karma: 0
Offline Offline

Posts: 22


« Reply #12 on: 23 Apr 2008, 18:36 »

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.
Logged
leifnicholz
Forum Member
*

Karma: 1
Offline Offline

Posts: 174

Location: Olympia, WA



« Reply #13 on: 24 Apr 2008, 12:31 »

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..  Wink Let's just hope they find a solution for this issue soon..
Logged

I'm using:
     • CMSMS 1.3.1 "Havana"
     • IIS 5 on Windows XP Pro
     • PHP 5
     • MySQL 5
Silmarillion
Dev Team Member
Power Poster
*****

Karma: 11
Offline Offline

Posts: 298

Location: Denmark



« Reply #14 on: 27 Apr 2008, 10:48 »

For TinyMCE-beta problems, please test latest beta3. Did some bugfixing for IE7 and got it working on my system at least.
Regards
Morten
Logged
Pages: [1] 2
Print
Jump to: