Project:Comment Display
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

When I activate the Comment Display module and move my comments outside of the node content, then any javascripts that target objects in the comment area cease to function. For instance, while "Input format" appears below my comment text area, the text is not highlighted as a link and when I click it the formatting options do not display (I can see them in the source code, but they remain hidden). Also, WYSIWYG API fails to transform the text area into a TinyMCE editor, as it does when the comments are within the node content. Lastly, I tried activating AJAX Comments and that too fails to work. If I deactivate the Comment Display module then all these features work once again.

I suppose this could be a problem in the theme somewhere, but if that's the case some guidance in how not to break comment javascripts with your theme when using Comment Display is warranted. For what it's worth, I'm using a customized Zen sub-theme.

Comments

#1

This appears to similar to issue #442586: Anonymous user name/email/url not appearing. Using the workaround mentioned in that issue I added the 22 different css and js files that were failing to load when I enable Comment Display. Now the "input format" link works properly, but I still can't get the WYSIWYG or AJAX Comments modules to work.

Even if I somehow get this to work, manually editing the module to force these files to load does not seem like a reasonable solution to the problem. There's got'a be a way to get Drupal to realize that the comments are there, even if they're not in the node content, and load all these files. I don't know what it is, of course, but there's got'a be a way to do it. :-)

Any help would be appreciated.

#2

Status:active» closed (duplicate)

I think this was already fixed via #329780: Comment css/scripts aren't added via preprocess_page

Feel free to re-open this issue if you want to provide further information. Thanks.

nobody click here