When I choose the "yes" option for "Load fckeditor.config.js from theme path" in the advanced option, the file fckeditor.config.js from my theme seems not to be get by the module : the new toolbar that I created in my custom fckeditor.config.fs is no more displayed in the toolbar list, and I can't choose it.
To resolve the problem I have to remove the fckeditor.config.js from the module and replace it with my own file.
Perhaps this problem is related to the indication displayed under the toolbar list : "Choose a default toolbar set. To define new toolbar, edit fckeditor.config.js located in sites/all/modules/fckeditor.". The path (sites/all/modules/fckeditor) doesn't change even when I choose to load my fckeditor from the theme path.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 743984_1.patch | 4.04 KB | mbelos |
Comments
Comment #1
don@robertson.net.nz commentedSeem to be having the same problem
Comment #2
mbelos commentedWhich theme are you using for editing content? I use Garland for editing nodes, so fckeditor.config.js would need to be loaded from Garland rather than my theme.
Feature request: add another option to that where I can specify the actual filesystem path where the fckeditor.config.js file is located. This will let me use the same config file regardless of the selected theme.
Comment #3
mbelos commentedHey guys, attached is a patch to allow an administrator to specify the path of the fckeditor.config.js file. Please test and review...
EDIT: Just realised that there's another file that needs to be changed. This patch WILL NOT WORK at the moment, so please don't use it. You cannot select the required toolbar, because the FCKEditor Admin page tries to load the Module's default file, rather than the one specified below.
Comment #4
chicagotech commentedThis sure seems to be the problem (admin page loading the default fckeditor.config.js file. But, looking at the source code, it does appear the theme-based fckeditor.config.js file is being loaded for users - that works. So, what's the work around to select a custom toolbar for users? i.e. Can I edit the database myself to load the correct custom toolbar onto a user's page (that is - change the settings in the DB directly)?
Meanwhile, I simply edited the modules/fckeditor/fckeditor.config.js and made a note to try and remind myself of that fact should I upgrade this module!
Comment #5
Jorrit commentedUnfortunately, the solution you propose is the only solution. I will not fix this problem, as this module is not going to receive any more large enhancements. Please consider upgrading to CKEditor (http://drupal.org/project/ckeditor) and file a feature request there.