Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

Comments last 2 weeks

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

Downloads last 2 weeks

No new files

Welcome to Geeklog Saturday, August 27 2016 @ 04:06 am EDT

Geeklog's Advanced Editor

Geeklog
  • Contributed by:
  • Views:
    29,383

An advanced editor option is now available as part of the Geeklog 1.4 release. The integration of the FCKeditor which is one of the most popular and well supported OpenSource (LGPL Licensed) HTML editors brings to the web many of the powerful functionalities of desktop editors like MS Word.

A summary of the integration features:

  • Advanced Editor is enabled via a setting in the main site config.php
  • Enabled for Story Editor, contribute story or comment forms, and Staticpage Editor
  • FCKeditor is compatible with most internet browsers which include: IE 5.5+ (Windows), Firefox 1.0+, Mozilla 1.3+ and Netscape 7+.
  • Editor Toolbars can be customized and for starters, a more basic toolbar is used for non-admin's for the contribute story form.
  • Extensive Editor features like text formatting, tables, link creation and font styles.
  • Integrated Image Browser allows images to easily be uploaded and image library maintained.
  • Support for uploading assorted file types like zip,doc,xls,pdf,avi,mpg,mpeg,swf,fla

Site Config file Settings to enable Editor

The editor is not enabled by default and requires the option to be changed in the main site config.php file

// +---------------------------------------------------------------------------+
// | Support for custom templaes to support advanced Rich Text Editor
// | Checked in comment.php, submit.php, admin/story.php and
// | staticpages/index.php. If set true and advanced template exists
// | Note: If enabled, the default postmode will be html
// +---------------------------------------------------------------------------+
$_CONF['advanced_editor'] = true;

The image/file browser will upload all the images/files to directories by default that are under your public_html ($_CONF['path_html']) directory. A new directory called library will have 4 sub folders (directories) that store the different resource types (images,files,assorted media). You can then create subfolders using the image browser to organize your library. The path to the main library directory can be changed if desired.

// +---------------------------------------------------------------------------+
// | Path to user files relative to the $_CONF['site_url'] (no trailing slash)
// | Relative Directory where the Editor Image Library store
// +---------------------------------------------------------------------------+
$_CONF_FCK['imagelibrary'] = '/images/library';


Notes for anyone not using the supplied professional theme - new templates are required to enable the Editor

  • In addition to enabling the 'advanced_editor' it requires new template files to also exist for your current theme
  • The Story Editor is an Admin only (user with story.edit access) and the template for the Story Editor is under [theme]/admin/story. There needs to be a storyeditor_advanced.thtml file otherwise the default storyeditor.thtml file will be used and the FCKeditor will not appear.
  • The Story Comment feature uses: [theme]/comment/commentform_advanced.thtml
  • The Non-Admin contribute feature uses: [theme]/submit/submitstory_advanced.thtml
  • The Staticpage Editor needs to see $_CONF['path']/plugins/staticpages/templates/admin/editor_advanced.thtml
  • Each of these new template files are the same filename as the original + the _advanced' portion of the name.

Directory Permissions:

  • Make sure the image library directories have write permission or you will get a Quota Error message when you attempt to upload a new image or file.
  • The permissions need to be similar as other directories where you can upload images like a user photo (images/userphotos). Verify that feature works under your account profile and use the same permissions

Customizing the Editor Toolbars used

  • There are several toolbar configurations defined which can be changed to add/remove any of the possible FCKeditor features or to re-arrange the toolbar icons.
  • The FCKeditor config file which defines the Editor Options is under public_html/fckeditor and is called fckconfig.js

FCKConfig.ToolbarSets["editor-toolbar1"] = [
['Source','-','Undo','Redo','-','Link','Unlink','-','Bold','Italic',
'-','JustifyLeft','JustifyCenter','JustifyRight',
'-','OrderedList','UnorderedList','Outdent','Indent','FullWindow','About']
] ;

  • The StoryEditor is setup to use a Toolbar called 'editor-toolbar1'
  • Details on how to customize the toolbar - refer to the documentation on the FCKeditor site here
  • The default Editor config has an icon to launch the HTML editor in a new window giving you more editing area. When this is used, a second toolbar configuration is used which has more toolbar options. This toolbar is called 'NewToolbarClose'
  • There are several other toolbar configurations shown in the fckconfg.js file as examples.
  • The toolbar used for contributing comments is also 'editor-toolbar1' but this can be changed to a different toolbar in public_html/javascript/submitcomment_fckeditor.js
    window.onload = function() {
    var oFCKeditor1 = new FCKeditor( 'comment_html' ) ;
    oFCKeditor1.BasePath = geeklogEditorBasePath;
    oFCKeditor1.ToolbarSet = 'editor-toolbar1' ;
    oFCKeditor1.Height = 200 ;
    oFCKeditor1.ReplaceTextarea() ;
    }

  • The toolbar used for contributing a story (non-admin) is also 'editor-toolbar1' but this can be changed to a different toolbar in public_html/javascript/submitstory_fckeditor.js
    window.onload = function() {
    var oFCKeditor1 = new FCKeditor( 'intro_html' ) ;
    oFCKeditor1.BasePath = geeklogEditorBasePath;
    oFCKeditor1.ToolbarSet = 'editor-toolbar1' ;
    oFCKeditor1.Height = 200 ;
    oFCKeditor1.ReplaceTextarea() ;
    }

  • The toolbar used for the Staticpage Editor is 'editor-toolbar3' but this can be changed to a different toolbar in public_html/javascript/staticpages_fckeditor.js
    window.onload = function() {
    var oFCKeditor1 = new FCKeditor( sp_content' ) ;
    oFCKeditor1.BasePath = geeklogEditorBasePath;
    oFCKeditor1.ToolbarSet = 'editor-toolbar3' ;
    oFCKeditor1.Height = 200 ;
    oFCKeditor1.ReplaceTextarea() ;
    }

  • You may also note that you can change the starting height of the editors in this config area

Other Frequently asked questions:

  1. How do I launch the Edtitor in a new window
  2. How do I insert a line break instead of a new paragraph:
    > Use Shift-Enter instead of just Enter
  3. Are there shortcuts for some of the formatting options
    > Yes, use Cntrl-B for Bold, Ctrl-I for Italic, Ctrl-U for underline. Repeat to turn off
    > Use your mouse RightClick to show a context-sensitive menu. Specially if editing tables
  4. Can I view the HTML Source and edit it.
    > Yes, the Source toolbar option is for this. Just make sure you return to non-source mode before saving or the changes will be lost.
  5. How do I upload files
    > Using the Image Browser "mountain like icon on the toolbar", use the "link" subtab of the first pop-up instead of the "Image Info" tab. You can then browse and upload new 'file' type or other resource types. You would also use the "Image Info" to use an icon for the image to be displayed as the link to the file/resource you have just uploaded.

Example: < click me
Note: Set the image border property to 0 to not show the image border


This article was created using the HTML Editor

Trackback

Trackback URL for this entry:
https://www.geeklog.net/trackback.php/advanced-editor

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • Geeklog's Advanced Editor
  • Authored by:LWC on Sunday, February 12 2006 @ 06:14 pm EST
On behalf on every other person on the earth but Blaine, I beg you Blaine to explain the file manager part better.

Right now, I feel I have a better change of building a nuclear bomb than finding out how to upload a file in this editor. Is this a test? Are you supposed to be a nobel prize winner to be able to upload a file?

So fine, I've pressed full screen. Fine, I've pressed "link". But now what? The "Browse" button doesn't do a thing! Nada! Nothing!
I should mention it insists on being in Hebrew, although I've set my browser on "en-us".

Now let's supposed it worked. Is this even a browser or an upload button? If the former, how am I supposed to upload through a browse button?

The same of course goes to the image too. But nevertheless, shouldn't it select, say, pdf.gif automatically...?

Please, Blaine, please - just write a manual on how to upload a file!

  • Geeklog's Advanced Editor
  • Authored by:samstone on Sunday, February 12 2006 @ 08:04 pm EST
Hey, LWC, I know you are almost as smart as a noble prize winner, but I am having no problem with uploading files or images. So you might not be speaking on behalf of everyone.

Did you set the images/library/* folders to writeable? Have you tried with different browsers?

With IE you have to allow popup for the upload to work.

After pressing the "Browse Server" button, a new window pops up, which shows the current files in the server, and at the bottom there are links and buttons for you to create new folders, browse your computer, and, yes, there is an upload button for you to upload.

Sam
  • Geeklog's Advanced Editor
  • Authored by:ldfoo on Monday, February 13 2006 @ 04:12 am EST
Hi

Maybe different setting on the cvs to the release ? - I changed line 176 of fckconfig.js from cvs to true for uploads to work.

FCKConfig.LinkUpload = true ;

Another trick for young (maybe older in this case) players is to click the link in the correct toolbar (sigh)

thanks Blaine for this work and the article - fantastic
  • Geeklog's Advanced Editor
  • Authored by:LWC on Monday, February 13 2006 @ 05:56 am EST
That part is actually commented out. But nevertheless, do you remember I can't even click the browse button?

I've done a lot of tests and came up with this:

  • demo.geeklog.net - out of 4 supposedly identical XP systems (in all of which I've enabled popups for demo.geeklog.net - I usually expect a prompt) only in 1 could I press the browse button and a window has actually opened (although it didn't let me upload - invalid XML whatever - I guess you blocked it).

    To make sure they're identical in their IE settings, I've even put demo.geeklog.net in the Trusted sites...it made no difference.

  • My own site - out of the same 4 systems, none of them opened up a window when I clicked the browse button!

    I've tried chmodding 777 to images/, images/library/, everything inside the latter - still nothing (although I don't think 777 has anything to do with actually opening up the window).

    Samstone, I now know how you felt when you couldn't work the multilingual hack!

    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, February 13 2006 @ 08:54 am EST
    I'd like to add that I have no problem doing all of this in the official FCKeditor's demo - I don't even have to enable popups! So it must be something about Geeklog.

    My only system in which it Geeklog's FCKeditor works (and only in the demo site) has Java Virtual Machine. Can it be related? Please don't tell me that's a requirement...
    • Geeklog's Advanced Editor
    • Authored by:Blaine on Monday, February 13 2006 @ 05:25 pm EST
    The FCKeditor demo site is most likey not using the mcpuk Image Browser. When I first started the integration of the FCKeditor, the default image browser had major issues and I only had success with integrating the mcpuk version. This was about 6 months ago and since then I understand the integrated version has improved. I was not about to then back track and remove/replace and re-test as we were well ahead in the Release Plan for 1.4 and was not seeing any issues.

    I don't know if that's why your seeing a difference with the FCKeditor demo site vs our GL Demo site or if both versions may have an issue with using a proxy.

    ---
    Geeklog components by PortalParts -- www.portalparts.com
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, February 13 2006 @ 06:33 pm EST
    No it doesn't because I use the proxy over there without a scratch.
    • Geeklog's Advanced Editor
    • Authored by:Blaine on Monday, February 13 2006 @ 03:42 pm EST
    The tone of your posts sure don't encourage me to want to respond and help ;)

    Anyway it would appear most users are not having an issue as I have not seen many questions on this and either it's not being used or there are few questions.

    That aside, I have installed and tested the integrated FCKEditor on several clean GL 1.4 installations including hosted environments. I just tested the demo site and had no issues with the 'browse button' appearing but was not able to upload a file/image because of directory permissions. I've updated the perms on the demo site now and was able to complete without issue - editing a story and uploading a file which was then referenced via an icon like my example article shows above.

    You may want to try enabling the extra debugging for the Image Library Plugin PHP Connector. Edit the public_html\fckeditor\editor\filemanager\browser\mcpuk\connectors\php\config.php file. Around Line 190 is a section for the Debugging Options. Set all the Debug options to true. Once you get an error, look a the debug trace file under your GL logs directory.


    ---
    Geeklog components by PortalParts -- www.portalparts.com
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, February 13 2006 @ 05:02 pm EST

    Sorry, didn't mean to upset you. It just drives me crazy - especially since I have no problem in the official FCKEditor demo.

    Here goes: I've told IE to bypass my proxy for my site and suddenly it works even without enabling IE's popups.

    But what bothers it about my proxy I can't tell because the debug file is only created with the proxy bypassed (when it's less needed...)!

    However, my server's own error log shows interesting things:
    [error] Directory index forbidden by rule: /var/www/html/fckeditor/editor/dialog/
    [error] [client 84.110.23.58] File does not exist: /var/www/html/403.shtml

    And here's what I get when when the proxy is bypassed:

    After loading the form.
    [error] Directory index forbidden by rule: /var/www/html/fckeditor/editor/
    [error] File does not exist: /var/www/html/403.shtml

    After going full screen:
    [error] Directory index forbidden by rule: /var/www/html/fckeditor/editor/dialog/
    [error] File does not exist: /var/www/html/403.shtml

    After clicking "browse":
    [error] PHP Warning: file(/var/www/geeklog/logs/fck.dbg) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory in /var/www/html/fckeditor/editor/filemanager/browser/mcpuk/connectors/php/connector.php on line 30
    [error] PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in /var/www/html/fckeditor/editor/filemanager/browser/mcpuk/connectors/php/connector.php on line 30

    Do you see those borbidden errors? When my proxy isn't bypassed, it also reports those errors, so maybe that's the problem. But why does it happen when the proxy isn't bypassed? And why does it semi-happen when it is bypassed and everything is seemingly ok?

    fck.dbg (again, when the proxy is bypassed) takes up 20K so I won't paste it here.
    • Geeklog's Advanced Editor
    • Authored by:Blaine on Monday, February 13 2006 @ 05:18 pm EST
    Now the issue appears to be isolated. I don't do any development with a proxy nor have any clients using such as setup. Unless anyone else that can shed more light on the proxy issue,I'd suggest you post this on the FCKeditor support forums.

    ---
    Geeklog components by PortalParts -- www.portalparts.com
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, February 13 2006 @ 06:34 pm EST

    What about the all those errors in the error log that was without proxy?

    Besides, I can't report it here because it works there without a scratch. I'm limited to Geeklog lovers.
    • Geeklog's Advanced Editor
    • Authored by:trip on Monday, February 13 2006 @ 01:09 am EST
    Any word on support for Safari with the FCKeditor?
    • Geeklog's Advanced Editor
    • Authored by:ScurvyDawg on Monday, February 13 2006 @ 01:21 am EST
    Probably best asked at the FCK Editor website...
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, February 13 2006 @ 06:52 pm EST

    I'd also like to ask if images/library is a shared zone. That is, I see that even anonymous users (if I don't take away their toolbar) or at least every registered user can upload freely and worse still, edit and delete every else's files and folders in there.

    While maybe good for a community site, I plan to update some companies' sites into v1.4. What is the "official" recommendations for such sites? I guess only image/link is really risky. Too bad though, because I'd have to keep upload PDF files manually. I hoped v1.4 would solve this.

    You showed us how to replace the comments, story (non-admin) and staticpages' toolbars, but replace to what? And is story the only one that is divided to non admin/admin?
    • Geeklog's Advanced Editor
    • Authored by:Blaine on Tuesday, February 14 2006 @ 09:37 am EST
    You probally want to change the toolbar used in the comment and anonymous contribute forms then to not have the "launch new large editor window" icon/feature.

    As to change it to what - well thats's up to you. I provide several examples and the toolbar definitions should not be that hard to understand. I've given a link to the FCKeditor site and the helpfile on the toolbar customizations in the article. That link is here

    ---
    Geeklog components by PortalParts -- www.portalparts.com

    • Geeklog's Advanced Editor
    • Authored by:LWC on Tuesday, February 14 2006 @ 11:43 am EST
    Thanks! But what if I want registered users to be able to upload files but not edit/delete each other files?

    Also, between two v1.4 sites, in one of them anonymous commenters have no advanced editor and in the other they do - both config.php's have true for that value!

    What about my other questions?
    • Geeklog's Advanced Editor
    • Authored by:LWC on Tuesday, February 14 2006 @ 01:54 pm EST

    Ignore the "between the two sites" line (but don't ignore the others...). It was my mistake. In that site the toolbar worked too.
    • Geeklog's Advanced Editor
    • Authored by:LWC on Tuesday, February 14 2006 @ 02:00 pm EST

    Although in the new site I can neither see the files nor upload.

    Both sites have CHMOD 755 on their folders.

    This is getting weirder each moment.
    • Geeklog's Advanced Editor
    • Authored by:LWC on Tuesday, February 14 2006 @ 02:02 pm EST

    Just so I'm clear, I meant I can see the folders but not the files in them. In the first site, I can.

    I think we need to take this to the forum...
    • Geeklog's Advanced Editor
    • Authored by:LWC on Tuesday, February 14 2006 @ 06:28 pm EST
    Alright, I've updated the second site from PHP v5.0.3 to v5.0.5 and immediately the files became visible! Any idea why is that?

    And I still like to know how come everyone can mess out with everyone else's files? I guess only story admins should really get the "image" icon in the toolbar and hopefully they won't delete each other's files...

    Are story admins the ones who also get bodytext (that's the difference in FCKeditor between regular story writers and admins)?
    • Geeklog's Advanced Editor
    • Authored by:samstone on Thursday, March 16 2006 @ 06:03 pm EST
    Hey LWC,

    You should consider upgrading to FCKeditor 2.2. It works great, except there is not thumbnail, only file names.

    Sam
    • Geeklog's Advanced Editor
    • Authored by:ByteEnable on Wednesday, February 15 2006 @ 12:17 am EST
    An advanced editor option is available as part of the Geeklog 1.4 release with the integration of the FCKeditor. This is a one of the most popular and supported OpenSource (LGPL Licensed) HTML editors brings to the web many of the powerful functionalities of desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer brings to the web many of the powerful functionalities of desktop editors like MS Word.

    Should read:

    FCKeditor is an advanced editor option that has been integrated into Geeklog. The FCKeditor is available as part of the Geeklog 1.4 release. This is a one of the most popular and supported OpenSource (LGPL Licensed) HTML editors on the web. The FCKeditor offers many of the powerful functionalities found in desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer.

    I also get like 20 syntax errors in my FireFox Javascript console when enabling this option.
    • Geeklog's Advanced Editor
    • Authored by:Blaine on Wednesday, February 15 2006 @ 09:21 am EST
    My - arn't we the critic ;)

    Regarding errors with FCKeditor, I believe you are talking about CSS errors not Javascript errors.

    ---
    Geeklog components by PortalParts -- www.portalparts.com
    • Geeklog's Advanced Editor
    • Authored by:Robin on Sunday, February 26 2006 @ 04:23 am EST
    FCK for some unknown reason for me doesn't allow script tags in stories. It works in staticpages though. Anybody knows the solution to this problem. If yes please post a solution in this thread

    ---
    Geeklog Polish Support Team

    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Tuesday, February 28 2006 @ 05:08 am EST
    I was just posting up a new article for my GPL site and I noticed a couple of things:

    - when I copied and pasted some HTML it retained font tags, yet in the default GL configuration we have no way to configure fonts. I had to go in and manually strip the offending tags out. Shouldn't the editor be configured to strip these by default? font is an allowed tag in my confuguration - is that likely to be the cause?

    - I'm still getting "read more (1 word)" on all of my stories despite having nothing in the body. Is this being looked into?

    - I tried using the indent feature that's included in the default configuration but it didn't render on display. What tags do I need enabled to get this to work? I'll have a look at the html it's trying to save and see if I can work this out.

    As ever - big applause to the GL team for a fine product!

    (I'm running 1.40 and plan to get the service pack installed in the next day or two).
    • Geeklog's Advanced Editor
    • Authored by:Robin on Tuesday, February 28 2006 @ 09:43 am EST
    "- I'm still getting "read more (1 word)" on all of my stories despite having nothing in the body."

    I suspect this is caused by some default html tags that are preloded in FCK. If you, before saving a story, cklick on source in the main body text you should see the default tags. Try removing them before saving

    ---
    Geeklog Polish Support Team

    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Tuesday, February 28 2006 @ 02:16 pm EST
    I'd already tried that. It looks like it injects a couple of br tags but they're not evident in the source.
    • Geeklog's Advanced Editor
    • Authored by:Blaine on Wednesday, March 01 2006 @ 04:36 pm EST
    Try adding this option to your public_html/fckeditor/fckconfig.js file.

    FCKConfig.IgnoreEmptyParagraphValue = true;

    ---
    Geeklog components by PortalParts -- www.portalparts.com
    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Friday, March 03 2006 @ 04:51 pm EST
    That value is already set.
    • Geeklog's Advanced Editor
    • Authored by:geKow on Sunday, March 05 2006 @ 07:31 am EST
    that didn't help :(

    ---
    I am not a dev. Use my rants at your own risk!
    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Monday, May 29 2006 @ 07:13 am EDT
    This "read more (1 words)" problem is still apparent in SR3.

    Any chance of a fix to this? Makes my GL site look silly with every story not containing a body (which is most of them) all listing "read more (1 word)"...
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, May 29 2006 @ 10:01 am EDT
    I suppose you mean v1.4sr3...

    Anyway, what does it have to do with this problem? Not only did Dirk not claim to have upgraded FCKEditor but he actually mentioned he didn't upgrade it...

    I would have said to upgrade it yourself like Dirk suggested, but I'm not sure that would solve this problem as this is a Geeklog problem. All I can say is that it sometimes happens and sometimes doesn't, so if only someone told us what triggers it, it would have been nice.
    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Monday, May 29 2006 @ 05:29 pm EDT
    Of course I meant sr3 - what else would I mean?!

    What does it have to do with this problem? I posted this issue a ways back as the *parent* of this post.

    Dirk didn't suggest upgrading in this part of the comment thread.

    You say it sometimes happens and sometimes doesn't - well I'm saying it happens most of the time if not all of the time. Every story on the front of my GL site has it.

    As for telling you what causes it - seems logical to me to ask if it's been fixed before I go trawling around in the code for hours and hours.

    Thanks for the attitude. Thankfully Dirk has posted a most helpful response below.
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, May 29 2006 @ 06:29 pm EDT
    Relax, I just pointed out that your problem had nothing to do with SR3 (which full name I stressed so you'd release each Geeklog version has SRXs...) as SR3 didn't touch the subject. In SR3 Dirk suggested to upgrade FCKEditor.

    And it's funny you find it logical that others would look for it for hours and hours. I mean, at least say "I don't find it logical when I know others probably know exactly what's wrong".
    • Geeklog's Advanced Editor
    • Authored by:LWC on Monday, May 29 2006 @ 06:30 pm EDT
    release=realize
    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Tuesday, May 30 2006 @ 05:42 am EDT
    I fully appreciate SR3 is a security release. However I mentioned it simply to state clearly that I was running the latest version. I've been running a GL site for well over three years so I know how the patches work - but that's not gonna stop me hoping optimistically that wee fixes might not find their way in. The updated files didn't suggest any changes in the suspected areas so naturally I came here to ask around and see if it was on anyone's radar.

    I've seen people talking about updating the editor ever since it was released, but having dug around in the code in the past it struck me as being reasonably heavily modified by Blaine so I was naturally reluctant to delve into that myself. Plus I see that 1.4.1 isn't all that far away...

    Re hours and hours, I said it was logical to ASK if the problem had been fixed first, before I went looking at code, IN CASE someone else has already nutted it out. Frankly to not ask before diving in would be daft - well unless you've got oodles of free time and some of us don't.

    Seems to me that Dirk summed things up nicely. He clearly stated the problem lay in the FCKEditor, that he had a workaround in GL, and that an upcoming release of GL with the newer editor should fix it, and if not the fallback is there just in case. Short, succint, and brimming with nuggets of information. Very nice and exactly the feedback I was hoping for.

    If it reads like I'm harping on about this, well from where I'm sitting this is something that's plastered across my site and isn't working right. It's certainly one of the most visible bugs I've seen in my three years plus running GL so I was hoping it wasn't just me getting the problem (another reason to ask again). And if no-one was aware of it I was fully prepared to put some time into it to try to work out just what was going on. The fact that Dirk came straight back with a classy response just reaffirms just how good he and his team is and how worthy they are of our applause and support.
    • Geeklog's Advanced Editor
    • Authored by:LWC on Tuesday, May 30 2006 @ 10:08 am EDT
    Actually, we've had a whole discussion about this:
    http://www.geeklog.net/forum/viewtopic.php?showtopic=65522
    and we feel Blaine was smart enough to barely touch FCKEditor and even more so, most of what he did modify was just changing the defaults to his likes.

    Truth be told, the only 100% Geeklog related thing he did (the custom Javascripts aside because they're not part of FCKEditor) was modifying FCKEditor's config.php to catch Geeklog's config.php's $_CONF_FCK['imagelibrary'], which kind of wastes resources (see my post in that topic) but I admit I didn't find a better way.

    I say smart enough because this is exactly the reason it's relatively easy to upgrade (full instructions by samstone and by myself are provided in the aforementioned topic).
    • Geeklog's Advanced Editor
    • Authored by:Dirk on Monday, May 29 2006 @ 02:02 pm EDT

    We have a workaround in CVS. It's more of a kludge, really: It checks if the bodytext contains only that BR tag and removes it if that is the case.

    We will probably ship Geeklog 1.4.1 with FCKeditor 2.3 and either that upgrade fixes the problem or the kludge will have to stay in.

    bye, Dirk

    • Geeklog's Advanced Editor
    • Authored by:Agent X20 on Monday, May 29 2006 @ 05:35 pm EDT
    Thanks for the prompt response Dirk!

    Very pleasing to see that this has been looked at and that if FCK 2.3 doesn't resolve the problem you've got it in hand.

    Been running a GL site for over three years now - and am always impressed by the work you do.
    • Geeklog's Advanced Editor
    • Authored by:samstone on Thursday, March 16 2006 @ 06:07 pm EST
    Any of you experiancing problem with FCKeditor should consider upgrading it to 2.2 from the FCKeditor site. It works great for me, with the exception that they no longer use the previous file manager that shows image thumbnails, but only file names. Good enough for me. The main benefit is that you get a much stabler program.

    Sam
    • Geeklog's Advanced Editor
    • Authored by:thechadd on Tuesday, May 09 2006 @ 02:59 pm EDT
    I have just upgraded geeklog and am trying to get fckeditor working. It is showing up in story edit, but the menu bars aren't showing graphics. Also I got an error on page:

    Line: 12
    Char: 9
    Error: 'FCKeditor' is undefined
    Code: 0
    URL: myurl/geeklog/publichtml/admin/story.php?mode=edit

    I don't see anything in the geeklog errorlog.

    I turned debug on in fckeditor, and the fckdebug.html reads blank.
    • Geeklog's Advanced Editor
    • Authored by:thechadd on Tuesday, May 09 2006 @ 03:11 pm EDT
    it seems to work if I use the professional theme instead of my custom theme from 1.3. There seems to be issues for it looking for gif's where pngs exist, and who knows what else.

    Is there a theme conversion guide out there?
    • Geeklog's Advanced Editor
    • Authored by:Dirk on Tuesday, May 09 2006 @ 05:13 pm EDT
    • Geeklog's Advanced Editor
    • Authored by:thechadd on Tuesday, May 09 2006 @ 08:32 pm EDT
    hmm, I've tried to go through those changes and modify my theme, but I am still seeing the fckeditor not defined error (and failure to load the bars etc of that editor).
    • Geeklog's Advanced Editor
    • Authored by:thechadd on Tuesday, May 09 2006 @ 08:44 pm EDT
    I had missed {advanced_editor} in header.thtml. That rectified the menu bars for the fckedit intro and body text sections, but the menu bar on top appears messed likely due to my CSS, it shows text on mouseover but not normally.

    I think its mostly sorted
    • Geeklog's Advanced Editor
    • Authored by:geekuskhan on Wednesday, October 04 2006 @ 07:08 pm EDT
    I keep getting the error "Toolbar set "editor-toolbar1" dosnt exist".

    Then there is just a small bar with no buttons.

    Any Ideas?

    This is a new install.
    • Geeklog's Advanced Editor
    • Authored by:k74 on Wednesday, January 10 2007 @ 09:00 pm EST
    I have just upgraded to GL1.4.1 from GL1.4.0sr5 where FCK worked and now I am getting the sam error you are that toolbar-1 doesn't exist? I have recopied all the files over and still have the same error. The toolbar works fine when I am not logged in and click contribute. If I log in as admin or a user I get the error in stories, comment and static pages.

    Can anyone suggest what I may have done wrong, please.

    Thanks in advance.
    KEV

    ---
    Live everyday as if it was your last!