I wrote module to allow comment user profile. It creates node for user profile an show comments and comments form for it node on profile page. So I try to use ajax comments on it. But if I create new comment it doesn't show. If I answer to comment or delete it - works fine. To show comments form and other on profile page I call comment_node_page_additions().

Comments

Macronomicus’s picture

Did you get that working? Im about to try something similar for an image gallery setup.

acouch’s picture

Status: Active » Postponed (maintainer needs more info)

It probably is the case that the markup is different for the comment form. If you can post the module or somehow let me see this for myself I can try and take a look.

acouch’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

I plan to get Views support working: #1511726 which should solve this use-case.

Macronomicus’s picture

Strange thing is, it worked fine for me, in context with my view I used jquery ajax to inject the comments section of the selected node where I wanted, and used the attach behaviors bit in the jquery call, the result was ajax comments worked perfectly, I was shocked, I thought for sure I was going down PITA lane! ha!

I had to shelf it for a bit but im going to complete it here soon, its a node based photo gallery much like the "Google +" full screen galleries with comments etc. per image.

drupal.org/node/1511726 is pretty cool too though.