Active
Project:
AJAX Comments
Version:
6.x-1.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2009 at 02:32 UTC
Updated:
30 Dec 2025 at 22:41 UTC
Jump to comment: Most recent
AJAX Comments seems doesn't work with comment forms in a panel.
I have overriden node using Panels in my site. But, the comment form doesn't affected by AJAX Comments.
I figured out this problem might be come from the comment form id. By default, Drupal gives "comment-form" as comment form id, but comment forms in Panels have "panels-comment-form" id.
I hope this can be solved in your next release. Thanks
Comments
Comment #1
neochief commentedYes, I think you've described a correct reason. I'll see how it can be fixed.
Comment #2
Flying Drupalist commentedSubscribe
Comment #3
bsod commentedSubscribe
Comment #4
bsod commentedAny progress on this issue?
Comment #5
Stan.Ezersky commentedSubscribe
Comment #6
FJY commentedSubscribe
Comment #7
neochief commentedToday I was digging into this issue. I must say that it's not a "change-id-and-everything-will-work" issue. They implemented a form like separate thing, and it require more work to link existing ahah functionality with this form. Another hard thing is that comments and form is not a part of same context in panel, I need to modify planty of selectors either so comment replies inserts in correct place.
Comment #8
raiyne commentedSubscribe
Comment #9
witzel commentedI love this module, but i need panels and views. It would be great if these three worked together! When I create a view, the "create comment" and "reply" link don't work with ajax.
Comment #10
ayalon commentedsame here
Comment #11
thehong commentedI see this hack in ajax_comments.js: $('#panels-comment-form').attr('id', 'comment-form');
This may break theming styles.
Comment #12
thomasmuirhead commentedI stuck this in ajax_comments.js but it didn't work. Am I doing it wrong?
Ajax-comments to work with panels would be amazing. Anything I can do to help? (apart from coding unfortunately)
Comment #13
raiyne commentedI can offer no help in development but it would be a godsend if Ajax-comments worked with panels.
Comment #14
CarbonPig commentedSubscribe - Would be Great
Comment #15
hasc commentedHi,
I propably found a work around to use it with panels.
The view:
I created a view and within that i created a display of type "Content pane" with "Row style: Node" and the Argument "Node: Nid". I verified that the correct (single) node is displayed using the "Live preview".
The panel:
Then i created a variant for the systems default panel "Node template" and defined a selecion rule matching the desired node type (in my case story). First I played with the arguments input field and manually set a specific node id. When i viewed the node everthing worked fine together with ajax_comments.
Last step was to pass the node id dynamically as argument to the view. I have pathauto module activated. Somehow it worked by just activating the "Send arguments" checkbox within the settings of the pane.
I have to do some final tests but so far everthing seems to work fine.
Hope this helps.
Regards,
hasc
Comment #16
neochief commentedImportant note to add to previous comment is to use full node display, with it's comment thread and form, not the comments form pane given by Panels module.
Comment #17
vinoth.3v commentedHey
It works Well.
But is any possibilities to display only node comments display (excluding other node elements title, teaser/body) etc.
Is any row style available for the views?
Comment #18
samhassell commentedsubscribe. I'm going to need that functionality (#17) for an upcoming project, will take a look at the code if nothing else comes up.
Comment #19
Artem Beloglazov commentedsubscribe
Comment #20
gilcpd commentedsubscribing
Comment #21
raiyne commentedDoes anyone know if this is active?
Comment #22
Hiroaki commentedI really want to see this working on my panel + Organic group website. ;)
Subscribing
Comment #23
Hiroaki commentedhere is what I get when trying to enable panel page for node_view (for use with Organic Groups Panel)
Page manager module is unable to enable node/%node because some other module already has overridden with comment_bonus_api_node_page_view.
Comment #24
anil614sagar commented+1 Subscribing. Not working with panels.
Comment #25
llamatrix commented+1 Subscribing
Comment #26
roalty commentedOld ajax_comments module works fine. But new one with comment_bonus_api don't working with panels node override.
+1 Subscribing. Not working with panels.
Comment #27
mrgoltra commented+subscribing.
Comment #28
Fa-sum commentedSubscribing
Comment #29
ionchannels commentedSince most people are using panels, you should probably mention this on the main module page with lots of asterisks and bold type. This module also disabled my node-view panel altogether.
Comment #30
neochief commentedionchannels, this module doesn't do anything to panels—neither good, nor bad.
Comment #31
STINGER_LP commentedSubscribe
Comment #32
jcmarco commentedThere is a patch that solves the panel compatibility for almost two months waiting for people to test it and validate it.
#672722: Add compatibility with panels
Please test it
Comment #33
cbassig commented+1
Comment #34
Apfel007 commentedthe patch work with the error (overriding the node/view of comments_bonus).
But all comment form are open now, and no ajax is added.
Comment #35
cancerian7 commentedany progress on this issue?
Comment #36
Omniweb commentedPanels 6.x-3.7 + AJAX Comments 6.x-1.8
Add these lines into ajax_comments.js line 13
It works for me.
Comment #37
henrijs.seso commented#36 does not work. why would you replace node with comment/reply in URL? Anyway, these are just cosmetic changes and does not address issue at all.
#32 does not work too.
Comment #38
PI_Ron commentedsubscribing
Comment #39
davethedruper commentedHas anyone seen this post? http://drupal.org/node/423292#comment-3714538 I'm not sure if it's the same issue.
Comment #40
nicktech commentedsubscribing -- I can also confirm that #32 does not work.
Comment #41
jthomasbailey commentedsubscribing
Comment #42
gigantortron commentedsubscribing
Comment #43
vstmusic commentedsuscribing
Comment #44
obiwankaynobi commentedsubbing.
Comment #45
rjbrown99 commentedI'm more than happy to review a patch for inclusion in the module. If any of you subscribers to this can roll a patch to fix it, please attach it here and let's get some folks to test it out. I'm not using panels myself so it isn't a priority for me personally to fix/enhance support for it but again I'm more than happy to apply a tested patch. Just trying to provide some encouragement :)
Comment #46
bryancasler commentedsubscribe
Comment #47
svilen commented#36 fix works for AJAX Comments 6.x-1.8
Thank you Xandle.
Comment #48
tugis commentedSubscribing
Comment #49
jcisio commentedRecent version of AJAX_comments requires comment_bonus_api that is not compatible with Panels #672722: Add compatibility with panels (I even can't enable the node_view page in Panels). So no hope here :( but at comment_bonus_api.
Comment #50
arcall commentedAny development on this ?
Comment #51
llamatrix commentedSubscribing
Comment #55
bsandor commentedSubscribe
Comment #56
cfox612 commented+1 subscribe
Using panels, views, and wysiwyg (although I've tried with rich text disabled, same issue). It keeps throwing an error: