Doesn't work with comment forms in panels

gantenx - January 6, 2009 - 02:32
Project:AJAX Comments
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

neochief - January 7, 2009 - 01:37

Yes, I think you've described a correct reason. I'll see how it can be fixed.

#2

Flying Drupalist - January 9, 2009 - 03:07

Subscribe

#3

bsod - January 11, 2009 - 23:27

Subscribe

#4

bsod - January 21, 2009 - 02:55

Any progress on this issue?

#5

EzS - February 15, 2009 - 22:46

Subscribe

#6

FJY - March 12, 2009 - 03:45

Subscribe

#7

neochief - March 23, 2009 - 20:51
Version:6.x-1.6» 6.x-1.x-dev

Today 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.

#8

raiyne - April 8, 2009 - 15:50

Subscribe

#9

witzel - April 21, 2009 - 09:42

I 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.

#10

ayalon - June 19, 2009 - 15:24

same here

#11

thehong - July 14, 2009 - 09:19
Component:Miscellaneous» Code
Category:feature request» bug report

I see this hack in ajax_comments.js: $('#panels-comment-form').attr('id', 'comment-form');
This may break theming styles.

#12

thomasmuirhead - July 16, 2009 - 20:39

I 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)

#13

raiyne - July 30, 2009 - 02:22

I can offer no help in development but it would be a godsend if Ajax-comments worked with panels.

#14

CarbonPig - September 12, 2009 - 01:44

Subscribe - Would be Great

#15

hasc - September 23, 2009 - 13:39

Hi,

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

#16

neochief - September 23, 2009 - 21:44

Important 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.

#17

4vinoth - October 6, 2009 - 12:44

Hey

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?

#18

samhassell - November 26, 2009 - 06:26

subscribe. I'm going to need that functionality (#17) for an upcoming project, will take a look at the code if nothing else comes up.

 
 

Drupal is a registered trademark of Dries Buytaert.