Posted by larowlan on February 18, 2013 at 9:29am
5 followers
Jump to:
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | comment.module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Issue Summary
Follow up for #731724: Decouple comment.module from node by turning comment settings into a field
Problem/Motivation
#731724: Decouple comment.module from node by turning comment settings into a field Moves comment to a field api field. We would love to get the threading and pager settings into the formatter, instead of the field settings, this would allow this to be used in views etc ie anywhere else display settings can be configured
Proposed resolution
Move threading and pager settings into formatter settings (from field settings).
Remaining tasks
Write the patch
User interface changes
Settings will be moved from field settings to formatter settings.
Comments
#1
#2
This change require to unify the output generation logic so formatter simply calls a function with parameters.
Also this change affects a way we generate a link to calculate a page for another formatter (links) so this a ONLY problem here
The number of page of the comment depends on both parameters so I think the Links formatter should get settings from "full" mode formatter and fallback to defaults when full is not CommentList
#3
Another task here to implement
node_title_list()theme-override to show the comment count#4
Looks like this workaround brokes standard drupal view modes
Possibly if this will be resolved in such way - should we provide a good docs and disabling some administration forms in core for comments?