To achieve your goal of displaying comments, comment forms, and using AJAX for immediate updates in Drupal, ensure your view and comment settings are configured My iTero Login correctly. Use the AJAX Comments or Inline Ajax Comments modules for better integration. If you're comfortable with custom coding, add AJAX callback events to dynamically update the fields and markup.
The core issue usually stems from how Views generates dynamic IDs for multiple comment forms, which the AJAX Comments module's JavaScript might not be inherently designed to handle, leading to new comments not appearing immediately or the form not being "ajaxified" correctly. You'll likely need to investigate the AJAX Comments module's issue queue for patches or workarounds related to Views integration, specifically regarding dynamic form IDs and ensuring the JavaScript behaviors are correctly reattached after an AJAX submission, potentially requiring custom theme overrides WalgreensListens or hook_form_alter implementations to ensure the necessary markup is present for the module to function as expected.
The core issue usually stems from how Views generates dynamic IDs for multiple comment forms, which the AJAX Comments module's JavaScript might not be inherently designed to handle, leading to new comments not appearing immediately or the form not being "ajaxified" correctly. You'll likely need to investigate the AJAX Comments module's issue queue for patches or workarounds related to Views integration, specifically regarding dynamic form IDs and ensuring the JavaScript behaviors are correctly reattached after an AJAX submission, potentially requiring custom theme WalgreensListens overrides or hook_form_alter implementations to ensure the necessary markup is present for the module to function as expected.
Based on your description, you're trying to create a Drupal view that displays nodes, their comments, and an AJAX-enabled comment form for each node, where new comments appear instantly without a page refresh. Your attempts with the default 'Content: List of comments' and 'Content: AJAX Add Comment' fields haven't fully achieved this. The 'Ajax Comments' module is designed to provide this functionality, but getting it to work within a view can be tricky. It seems you're on the right track, but it's not a simple point-and-click solution. The key is often in the specific configuration of the view's fields, relationships, and the settings of the AJAX Comments module itself to ensure it's correctly targeting the form and refresh area aessuccess login within the view's structure. It's likely a configuration issue rather than an impossible task.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
I am closing this issue, which was created for a project version compatible with a Drupal release no longer supported. Feel free to re-open the issue, if it is still relevant for a project version compatible with a supported Drupal release.
Now that this issue is closed, please review the contribution record.
As a contributor, attribute any organization helped you, or if you volunteered your own time.
Maintainers, please credit people who helped resolve this issue.