Hi, CKEditor doesn't work in advanced forum on my website. How could I add it? CKEditor works correctly with body in basic page

CommentFileSizeAuthor
#3 AF-comment.png11.01 KBITMonkey
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dczepierga’s picture

Does it advanced forum support text formats?
If not it would be problem, because CKEditor module is depend of text format support.

Greetings

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)
ITMonkey’s picture

Title: CKEditor and advanced forum » CKEditor not displaying in comment fields
Version: 7.x-1.9 » 7.x-1.12
Status: Postponed (maintainer needs more info) » Active
FileSize
11.01 KB

I'm seeing this also, Advanced Forum uses comment fields on a standard content type and it's the comments which don't show CKEditor, the original node (Forum Topic) works fine. Attached is a screenshot showing the format selector and plain comment field. The comments aren't showing CKEditor on any content type regardless of AF, but I'm not sure whether this problem only manifests when the AF module is enabled.

ITMonkey’s picture

I have disabled Advanced Forum and the comments still don't show CKEditor.

ITMonkey’s picture

Component: User interface » Code
Category: support » bug

Firebug is showing the following error:
TypeError: Drupal.settings.ckeditor is undefined
window.CKEDITOR_BASEPATH = Drupal.settings.ckeditor.editor_path;

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

Which version of CKEditor library do you use ?
Where did you store CKEditor library ?
Please check admin status report page if you have any errors there.
Do you have aggregation of JS, CSS files enabled ?
What theme do you use ? Is it standard or custom one ?
Please check in Firebug Net tab if you have any missing/error request.

ITMonkey’s picture

JS and CSS are both aggregated
Version CKEditor 3.6.5 - stored in sites/all/libraries
(I seem to remember it not working when installed at sites/all/modules/ckeditor/ckeditor)
Theme TouchPro (Arctica/Tundra subtheme) with Skinr
Comments do show CKEditor when using another theme.
Not sure (yet) if this is theme specific or something to do with Skinr.

mkesicki’s picture

@ITMonkey,
please check Aggregate ckeditor.js in Global profile configuration page in Advanced settings section. Make sure you have this option disabled (default setting).
As I understand with other (default) theme CKEditor shows in comments but not shows Arctica/Tundra subtheme with Skinr module .
Does comments work fine with Skinr module and other (default) theme ?
Please check in Firebug or similar tool if you have any missing/bad request .

Chad_Dupuis’s picture

Glad to see I'm not the only one with this problem (I'm using dev of ckeditor, ckeditor 4.1, jquery_update)

I'm having the same problem, but not just in comment fields - also in node creations within the arctica/tundra/lumi theme with skinr installed: I get Uncaught TypeError: Cannot read property 'editor_path' of undefined js_yzBDOe_b-GNJd0MAHHEETIwvdMGADCKsJsgOvB4jnMs.js:1732

Standard theme works fine...

Just can't see the difference besides some js conflict...

wwalc’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

The last comment was reported as a separate issue here: #1913682: Ckeditor does not show up in theme - undefined editor path?. Aggregate ckeditor.js set to Disabled should help.

tonovcp’s picture

Issue summary: View changes

I solved my problem, that was theme related, using this module https://www.drupal.org/project/commentsblock