ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« on: October 22, 2005, 01:08:45 PM » |
|
I opened this post because the other thread, where fckeditor is discussed, is now to large (207 Posts). And there was discussed, how to fully implement FCKEditor in WB. The last problem was, that you couldn't browse the media-dir from WB. Today i have released a version which solves this problem with a little hack, so i could say: FCKEditor now fully works with WB  - supports WB-Link modul
- Supports Browse Media
- Supports WB 2.5.2 and WB 2.6.x !!
What i have done?FCKEditor works with $ResourceTyp's wich means, that Images must be in the Image-dir, Files in the File-dir and so on. First i tried to delete the $ResourceTyp from FCKEditor, but there have to be too much changes to the Core of FCKEditor. So i looked for another easy way. I tried the following hack, and it works. To browse the whole WB media-dir I've created a new $ResourceTyp called "All" which goes directly to the WB media root. If you now uses the Linkbrowser, Filebrowser or Imagebrowser you could choose at ResourceTyp "All" and see the whole media dir with all subfolders. I know this is not the best, but it works. For now this resource Typ is at the end of the list, because it only works when you have done a click on it. A better solution is, when this resourcetyp stands at the beginning and autoshows the whole mediafolder. You can download the new modul at completed modules.How to update an existing installation?Only uninstall the old one and install the new one. Have fun Matthias
|
|
|
|
|
Logged
|
|
|
|
fjord
Offline
Posts: 23
|
 |
« Reply #1 on: October 27, 2005, 09:56:36 AM » |
|
Thanks for a great job, the installation works pretty well!
But I have som trouble running the editor in the news module. The editor seems OK, but when I insert images, smileys, etc.. they have "disappeared" next time I try to edit the news item after a save. Looking at the HTML-source in the editor, every quotation mark have got an extra HTML quot code.
In wysiwyg page mode everything seems OK.
Can you reproduce this strange behaviour in the news module?
Fjord
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #2 on: October 27, 2005, 10:23:28 AM » |
|
Hello,
it seems that you use an old WYSIWYGmod. Please download the actually mod at completed Modules where you get the FCKEditor modul and copy the files from the mod to your WB-Installation. Be sure that all files are at the correct dir and all old files are overwritten. Then all should work.
Matthias
|
|
|
|
|
Logged
|
|
|
|
fjord
Offline
Posts: 23
|
 |
« Reply #3 on: October 27, 2005, 11:34:27 AM » |
|
Thanks for your fast response!
Now it works, I have forgotten to patch in the stripslashes fix in a special version of modify_post.php. I got a little bit code-blind for the moment. Your WISYMIGmod is absolutely OK.
Thanks!
Fjord
|
|
|
|
|
Logged
|
|
|
|
andy
Offline
Posts: 48
|
 |
« Reply #4 on: November 02, 2005, 12:32:06 AM » |
|
Having some problems with this mod. Am running on a standalone server on my local machine. Everything worked like a charm until a couple of minutes ago. I enabled file uploading, then successfully uploaded a graphic, which was displayed in the page. After attempting to do this again, it failed, and now whenever I attempt to edit a page using the WYSIWYG, all of the FCKEditor buttons are missing. My javascript console is full of errors, but here is the one that actually seems to mean something:
|
|
|
|
« Last Edit: November 02, 2005, 01:22:09 AM by andy »
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #5 on: November 02, 2005, 07:29:57 AM » |
|
Hello, what do you mean with I enabled file uploading  Did you change something in FCKEditormodul? Matthias
|
|
|
|
|
Logged
|
|
|
|
andy
Offline
Posts: 48
|
 |
« Reply #6 on: November 02, 2005, 07:51:06 AM » |
|
The only thing I did was change line 24 in modules/fckeditor/fckeditor/editor/filemanager/upload/php/config.php from $Config['Enabled'] = false ; to $Config['Enabled'] = true ; That's it.
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #7 on: November 02, 2005, 08:38:03 AM » |
|
that's it  this "Upload"-Function from FCKEditor don't works in WB. I've tried to enable this too, but don't get it to work. Why you need this? You can upload every files in every dirs when you use the upload function at the bottom of the "Browse Server" Window from FCKEditormodul or you can use the upload function from WB in the Media-Section. Matthias
|
|
|
|
|
Logged
|
|
|
|
andy
Offline
Posts: 48
|
 |
« Reply #8 on: November 02, 2005, 10:18:41 PM » |
|
Oh. I see. Do you think maybe we should disable the upload tab? It would be really confusing for users to have a feature that looks like it works, but doesn't. I'm going to do that for my clients, I think. Don't want to confuse them 
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #9 on: November 02, 2005, 10:33:56 PM » |
|
where you can disable this tab?
Please post it, that i can change the fckeditor-modul at completet Modules.
Matthias
|
|
|
|
|
Logged
|
|
|
|
fjord
Offline
Posts: 23
|
 |
« Reply #10 on: November 02, 2005, 11:12:12 PM » |
|
Hello! You can remove the upload tabs by changing the following settings i the fckconfig.js file from true to false: FCKConfig.LinkUpload = false; ... FCKConfig.ImageUpload = false; ... FCKConfig.FlashUpload = false; Fjord
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #11 on: November 03, 2005, 09:45:36 AM » |
|
Thanks,
I've updated the FCKEditormodul at Completed Modules, Upload Tabs are removed now.
Matthias
|
|
|
|
|
Logged
|
|
|
|
Attila
Offline
Posts: 150
|
 |
« Reply #12 on: November 03, 2005, 03:17:12 PM » |
|
Hello I have a new problem. When I try to edit a page I get a "Toolbar Set 'Default' doesn't exist" error. No idea what happend. The last time I used it everything worked fine... I also installed the latest version of the FCKeditor, but the problem still exists. Any idea where I have to localize the problem? -- Dave
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #13 on: November 03, 2005, 03:57:48 PM » |
|
Hmm,
I've done a fresh Installation with FCKEditomodul from Today and all works ok. Could someone else reproduce this error?.
Matthias
|
|
|
|
|
Logged
|
|
|
|
Attila
Offline
Posts: 150
|
 |
« Reply #14 on: November 03, 2005, 05:12:16 PM » |
|
The function "show_wysiwyg_editor" is defined in the file "include.php". Here on line 41 I found "$oFCKeditor->ToolbarSet = 'Default';" When I change this from "Default" to "Basic" I still get an error ("Toolbar Set 'Basic' doesn't exist"). Where are the ToolbarSets defined? Could something be wrong with the path? I have no clue.
-- Dave
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #15 on: November 03, 2005, 06:54:32 PM » |
|
Hello Dave
Toolbars are defined in fkconfig.js. But the Problem seems to be another one. Could you try to uninstall and reinstall FCKEditormodul. I think there is something going wrong with your last installation.
Matthias
|
|
|
|
|
Logged
|
|
|
|
Attila
Offline
Posts: 150
|
 |
« Reply #16 on: November 04, 2005, 10:26:49 AM » |
|
Believe it or not... Today I started Firefox and just for fun I tried to edit a page the same way I do it all the time. And now – believe it or not – the toolbar is here again. No errors, everything works as usual. AND: I didn't changed anything since yesterday!
Thank you anyway for your advice Matthias!
-- Dave
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #17 on: November 04, 2005, 10:29:15 AM » |
|
 Seems to be a cache Problem from FF Matthias
|
|
|
|
|
Logged
|
|
|
|
melissa
Offline
Posts: 166
|
 |
« Reply #18 on: November 06, 2005, 06:32:06 AM » |
|
Hi there,
Thanks ruebenwurzel for the great work you've done on the FCKEditor Module.
I've just got this one little question. Does anyone know how to change what the little buttons do? The horizontal rule one gives you <hr width="100%" size="2" />, but I would really like just a plain <hr /> so that I can specify in my CSS what I want it to look like.
Any clues?
Melissa.
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #19 on: November 06, 2005, 09:03:30 AM » |
|
hmm,
don't know where this is defined. But you're wright, would be better to have clean rule. Maybe someone other has an idea
Matthias
|
|
|
|
|
Logged
|
|
|
|
Olli
Offline
Posts: 290
|
 |
« Reply #20 on: November 10, 2005, 02:25:34 PM » |
|
hello ruebenwurzel and everyone else, thanks for the great work. but when browsing finished texts the editor breaks all images by inserting a missleading \" in front of every url... i've got the latest stable wb and the wysigygmod2.5.2 installed... is this solved somewhere already and i didn't get it?  thanks for you help guys 
|
|
|
|
|
Logged
|
|
|
|
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
|
 |
« Reply #21 on: November 10, 2005, 07:58:48 PM » |
|
Are you shure you have the latest version from Completed Modules? The problem you describe should be resolved with this version. Are you shure all files in your WB istallation are overwritten with the new ones?
Matthias
|
|
|
|
|
Logged
|
|
|
|
Olli
Offline
Posts: 290
|
 |
« Reply #22 on: November 10, 2005, 08:57:27 PM » |
|
hello, now luckily this error is gone  filezilla seems to be guilty on this somehow. why does this always happen to me and i have to ask silly questions first?  the normal wysiwyg area works fine now. thanks for making my fave cms better again 
|
|
|
|
|
Logged
|
|
|
|
watermelon
Offline
Posts: 26
|
 |
« Reply #23 on: November 22, 2005, 06:56:43 AM » |
|
Hello - I can't seem to get this module installed correctly. I've never installed a WB module before, so maybe I'm missing something. Here's what I did: 1. installed WYSIWYG mod 2. downloaded fckeditor mod and saved in folder modules/fckeditor (note: the zip file fckeditor.zip was corrupted, so I used the one from the fckeditor site.) 3. went to WB modules page and selected the fckeditor mod install.php file. There was just a white screen - no success or error messages.
Now I can see the option for fckEditor in the admin under settings, but when I select it and try to edit a page, there is no editor.
Paul
|
|
|
|
« Last Edit: November 29, 2005, 06:52:31 AM by watermelon »
|
Logged
|
|
|
|
Attila
Offline
Posts: 150
|
 |
« Reply #24 on: November 22, 2005, 07:48:08 AM » |
|
Watermelon To install the fckeditor module you have to 1) download and install the wysiwyg mod (manually replace the corresponding files in your wb installation) 2) download the zip-file from here: http://forum.websitebaker.org/index.php/topic,1293.msg7762.html#msg77623) go to the "Add-ons" page, click on "Modules", choose the option "Install Module" and select the "fckeditor_2_5_2.zip" file to install 4) switch to the fckeditor on the "Settings" page -- Dave
|
|
|
|
|
Logged
|
|
|
|
|