Problem/Motivation
Authcache Comment provides an assembly returning the number of new comments for every node displayed on a page (e.g. front page, taxonomy term listing, forum overview). The returned partial fragments need post-processing though, and therefore it would be much cleaner to simply populate a setting instead of rendering an invisible span from a fragment handler.
Also authcache_forum.js seems to overwrite Drupal.behaviors.authcacheComment. This is not acceptable because that makes it impossible to present node teasers (e.g. in blocks) alongside with a forum topics overview on the same page.
Proposed resolution
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2355955-comment-use-setting-instead-of-assembly-2.diff | 34.36 KB | znerol |
| #2 | interdiff.txt | 9.64 KB | znerol |
| #1 | 2355955-comment-use-setting-instead-of-assembly.diff | 31.35 KB | znerol |
Comments
Comment #1
znerol commentedComment #2
znerol commentedActually test replacement markup, also polish the forum JS a bit.
Comment #4
znerol commented