Welcome to Geeklog Sunday, October 24 2021 @ 03:04 pm EDT

Geeklog Forums

FCKEditor question.


Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
I enabled the FCKEditor on one of the GL sites I'm working on, and while the tabs show up at the top of the Story Editor page, the JS editor itself is not showing up. I get little '+' and '-' graphics, but no editor. If I access the editor via URL/fckeditor/fckeditor.html, I do see the editor, so I know it's there. So why is it not showing up on the Story Editor?

This is pretty much the final thing that needs to be done to the site prior to launch, so if anyone can help me clear this up, I'd appreciate it. Apologies if it's a redundant question - I searched the topic here and didn't find an answer.

- Don
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/02
Posts: 820
Are you using the professional theme?
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
Yep. Professional (slightly modified header and navigation), GL 1.4.1.

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Do you happen to use Safari? FCKeditor doesn't work with Safari yet.

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
No, I'm viewing it through FireFox 2.0.0.1

Haven't viewed it through Internet Exploder yet.

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Both Firefox and IE should work just fine. Assuming you have JavaScript enabled ...

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
I do see the editor if I go directly to the fckeditor.html page, so I'm assuming I have javascript enabled in the browser. Just not seeing it on the Story Editor page.

Do I need to enable javascript in config.php?

On Edit: Must have clicked the wrong button. This post ended up in its own thread. Sorry.

- Don
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/02
Posts: 820
Two things that comes to my mind.

1) You said you edited the header.thml, did you remove the line to load the java scripts?

2) You might want to try using the latest version of the FCKeditor, which I would recommend you to do anyway, because it has fewer bugs. I am using FCKeditor 2.4. The one that comes with GL is 2.3.

Sam
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
As far as I can tell, the line to load javascript is still there. Here's the part of the code that I think deals with the javascript:

PHP Formatted Code

<link rel="stylesheet" type="text/css" href="{css_url}" title="{theme}">
{feed_url}
{rel_links}
{plg_headercode}
{advanced_editor}
<!-- Load Common Javascript Libraries -->
<script type="text/javascript" src="{site_url}/javascript/common.js"></script>
 


I compared it to a 'vanilla' copy of header.thtml and it all seems to be there.

I may try the newest version. Do I need to DL it from FCK, or is it available here?

I know! I'll go look! Big Grin

Thanks for the suggestion.

- Don
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
I installed FCK 2.4. Same difference, still no editor.

I am stumped. I even went in and added the line that calls the common javascript library in header.thtml, copied it and substituted the names of the individual FCK editor .js files. No luck.

Not working in IE, either, BTW.

- Don
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/02
Posts: 820
I assume that you put the myconfig.js file in the fckeditor, right?

I am out of idea. FCKeditor should work right out of the box of Geeklog.

Sorry for not being able to help. But I will keep thinking about it for you.

Sam
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
Yes, it's there.

And when you go to the fckeditor.html page in the 'editor' directory, the editor toolbar shows up in the browser just fine.

Besides this line of code in config.php

PHP Formatted Code
$_CONF['advanced_editor'] = true;


is there anything else that needs to be modified? Am I missing something completely obvious here?

We need a 'scratching head' icon. Smile

- Don
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 29/09/02
Posts: 820
I would do a fresh installation and try to see FCKeditor is working first. Then redo the modification and see at what point FCKeditor was effected.

Sam
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 09/06/04
Posts: 153
Found why the editor is not displaying.

There is a drop-down menu to Specify Post Mode, and the default is currently set to Plain Old Text. Choosing 'Advanced Editor from the drop displays the editor. Duh.

Changing default postmode to

PHP Formatted Code
 $_CONF['postmode']      = 'advanced_editor';  


shows the editor by default.

If you keep looking at the trees, eventually you will see the forest.

- Don
 Quote

All times are EDT. The time is now 03:04 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content