Implement alter hook for the HTML wrapper id

Created on 29 June 2022, over 2 years ago
Updated 9 January 2025, 18 days ago

Problem/Motivation

The AJAX Comments module implements its own logic for wrapping HTML markup in wrappers, so the HTML can be manipulated using AJAX requests by its id. However, for atypical comment setups this HTML wrapper id has to be manipulated to fit the use case. For an example, see Don't rebuild the entire comment field/thread when posting a comment Needs work

Proposed resolution

Implement alter hook for the HTML wrapper id

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

The AJAX Comments HTML wrapper id may now be altered.

Data model changes

None.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands idebr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution. Thanks for the info I will try to figure it out for more. Thanks to this article I can learn more. Expand my knowledge and abilities. Actually the article is very real. Thanks for sharing. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.

Production build 0.71.5 2024