Hello people!
Can somebody tell me what I'm doing not correct?
In comment-wrapper.tpl.php I deleted comment code and left just comment form code.
After I display the comments via views. I'm using field views refference in my content type to display the view.
And when I'm posting the comment - it is not ajax post. I need to reload the page to see it.

Thank you for any help!

CommentFileSizeAuthor
#1 Screenshot_7_30_13_16_50.png74.79 KBmuschpusch

Comments

muschpusch’s picture

Assigned: sser » Unassigned
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new74.79 KB

There are no major support requests and please assign an issue only if you want to provide a patch. Anyways the views integration offers two new field handlers:

Screenshot_7_30_13_16_50.png

Is this what you are looking for?

muschpusch’s picture

Issue summary: View changes

Log message:

frank.schram’s picture

Issue summary: View changes

I believe this clear.
It's just that the view is not being refreshed when a new comment is added.
You need to reload the page to see the new added comment

muschpusch’s picture

Hey Frank are using the latest development version of ajax_comments? If not please do so. Could you switch to a default theme provided by core and check if the issue persists?

frank.schram’s picture

I used the latest dev version now and tried in bartik theme.
The behaviour is even worse new.
After clicking save, I don't even get confirmation that the comment is posted.
The comment form even stays open.
While in fact the comment is saved.
It appears then finally after refreshing the page.

muschpusch’s picture

Do you get any errors in the js console? Any watchdog messages or php warnings?!?

kloy23’s picture

Hello Muschpusch,

I'm experiencing the same issue.

Using the current version:
-Requires a refresh to see posted comment only when using the field "Content: List of comments" within a view. Seems to be working fine on full node.
- I cannot get edit to work properly on either the view, or full node.
- Delete works as intended.

Using Dev version
- Requires a page refresh to view comments on either the view, or full node.
- Still cannot get edit to work properly
- Delete works as intended.

Has there been any progress working on this issue?

I will also mention that I am using this on a Drupal Commons site, but I do not believe this to be an issue with drupal commons.

Thanks,
Kyle

kloy23’s picture

The patch in comment #16 on this issue https://www.drupal.org/node/1793988 fixed the refresh issue for me, using 7.x-1.0-beta1. I no longer have to refresh in order to see the comment.

muschpusch’s picture

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

Ok so i'm closing this one as a duplicate of #1793988: Ajax comments only shows comments after page reload/refresh since we have at least some half working patch over there...