when installed linux server, maybe change the default.php in line 22:
oFCKeditor.BasePath = "' . $Context->Configuration['WEB_ROOT'] . 'js/FCKeditor/" ;
to
oFCKeditor.BasePath = "' . $Context->Configuration['WEB_ROOT'] . 'js/fckeditor/" ; //lowercase
and line 89:
$Head->AddScript('js/FCKeditor/fckeditor.js');
to
$Head->AddScript('js/fckeditor/fckeditor.js'); //lowercase
Hey Schizo,
I've just installed this and I must say it absolutely rocks. I've already tried this extension a few months ago and encountered some issues I don't exactly remember, but now everything is ok and I think I'll use FCKeditor on my live forum. However I have a few questions:
- Is keeping other formatting extensions like Textile and BBcodeParser enabled a problem? It seems to work fine, my older posts display correctly while new ones only use FCKeditor, but should it be avoided?
- Lots of my older HTML formatted posts use SirNot's video tag for YouTube & Google Video. They don't work anymore with FCKeditor. However, if I re-enable HTML Formatter, they work fine, and FCKeditor seems to work fine too. I guess there may be some conflicts and it's probably a bad idea, but it would be a real pain to change each <video type="youtube">...</video>, so what sould I do?
- Is there a way to make Textile syntax work in FCKeditor? A few of my users love it so I'd like to keep them happy if I can.
u cannot have Textile inside FCKeditor. what u can do is make a small extension that allows selection between different formatters, so ur users can choose which one they want.
yes if u enable HtmlFormatter before FCKeditor or tinymce, All new posts will be formatted with FCKeditor, but all old posts will be formatted with HTMLformatter. Same is true for TExtile.
FCKeditor and Tinymce will not touch ur old posts anyway, so u need ur old formatter to be enabled before FCKeditor or tinymce.
Pretty glad to hear old formatters are ok if loaded first
Now I'm not sure I want to add several formatting choices because some of my users are quite confused by them. If FCK was set by default and Textile allowed with a radio button, I guess it would be okay, two choices are less confusing than four (Text/BBCode/HTML/Textile in this case).
In a perfect world, Text would be replaced by FCKeditor, and the second button would be for Textile, but I've no idea how to make such an extension. Wouldn't it require to modify both FCK and Textile?
there is actually a WYSIWYG Textile formatter. http://perifer.se/jtextbar/ its a toolbar just like FCKeditor, but it spits out Textile code rather than html
ok done now its a User Forum Preference, if they don't want FCKeditor they can disable visual editing checkbox in Account tab->Forum preference. and whatever else u have enabled will be used
This works fine, but the problem is FCK-formatted posts aren't formatted anymore. All the HTML tags are visible. I have HTML Formatter enabled though (before FCK editor).
edit: I mean, when Enable Visual editing toolbar is disabled but FCKeditor enabled.
Hi MySchizoBuddy I test the FCKeditor 2.5 in my website, when I enable the editor and work fine, but I disable it, and some wrong with it. see the pictures
OK. let me fix this. I know where i went wrong.
btw anyone using the included themes. If not
t then I'll take em out
I'm making some additional changes so Tinymce works the same way and uses the same parameters
Ur users will have to Re-Disable FCkeditor.
MySchizoBuddy: Is there any chance you can make the buttons available on the editor configurable via a Settings->Extension Options GUI page instead of editing the code? Whenever I upgrade to a new version, I have to go back in and redo my changes. It wouldn't be a huge pain, but you release versions rather frequently and it is becoming quite the chore
all these changes are mostly in the default.php u should check that config.js has changed or not. If not then don't copy that over. next time I will mention which file changed.
Comments
what u can do is make a small extension that allows selection between different formatters, so ur users can choose which one they want.
yes if u enable HtmlFormatter before FCKeditor or tinymce, All new posts will be formatted with FCKeditor, but all old posts will be formatted with HTMLformatter. Same is true for TExtile.
FCKeditor and Tinymce will not touch ur old posts anyway, so u need ur old formatter to be enabled before FCKeditor or tinymce.
Now I'm not sure I want to add several formatting choices because some of my users are quite confused by them. If FCK was set by default and Textile allowed with a radio button, I guess it would be okay, two choices are less confusing than four (Text/BBCode/HTML/Textile in this case).
In a perfect world, Text would be replaced by FCKeditor, and the second button would be for Textile, but I've no idea how to make such an extension. Wouldn't it require to modify both FCK and Textile?
its a toolbar just like FCKeditor, but it spits out Textile code rather than html
ok done now its a User Forum Preference, if they don't want FCKeditor they can disable visual editing checkbox in Account tab->Forum preference. and whatever else u have enabled will be used
edit: I mean, when Enable Visual editing toolbar is disabled but FCKeditor enabled.
I test the FCKeditor 2.5 in my website, when I enable the editor and work fine, but I disable it, and some wrong with it.
see the pictures
FCKeditor enable http://www.yeeshe.com/FCK-enable.png
FCKeditor disable http://www.yeeshe.com/FCK-disable.png
test url: http://www.yeeshe.com/bbs
user: test
pwd:test
What's Wrong?
but another problem, when I switched the FCKeditor source-code mode, and found the no-english(i.e. chinese) words become unknown codes, and english work fine.
see pics,
WYSIWYG mode: http://www.yeeshe.com/images/FCKedito-WYSIWYG.jpg
SOURCE mode: http://www.yeeshe.com/images/FCKedito-source.jpg
How I do?
@gpreston use Global Preference Set Extension
Go to its settings Enter VisualEditing and then 1 and click send.
that will enable it for everyone.