Opened 15 years ago
Closed 12 years ago
#12871 closed New feature (fixed)
Document creation of a comment form for authenticated users
Reported by: | Scot Hacker | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2-beta |
Severity: | Normal | Keywords: | comments |
Cc: | timograham@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The documentation does not make clear how to use the Comments framework to create a form for authenticated users (eliding the name, email, and URL fields). Blogs out there are full of half-baked or convoluted solutions for what should be a no-brainer. This doc patch provides what I hope is a "best" approach to this problem.
Attachments (3)
Change History (14)
by , 15 years ago
Attachment: | auth_comments.diff added |
---|
comment:1 by , 15 years ago
I placed this at the end of the Notes section rather than higher on the page because it's based in part on information provided in Notes.
comment:2 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 15 years ago
Patch needs improvement: | set |
---|
The idea is good, but the text needs work. It isn't clear from this example how (or why) the comment will be associated with the authenticated user.
Also, placing this text after "Redirecting after the comment post" (i.e., just before the Notes, as the last section in the "Displaying the comment post form" section) makes more sense to me.
comment:4 by , 15 years ago
Here is a second diff that explains why comments are associated with authenticated users. I've also explained the fields in use a bit, moved the block as suggested, and linked various sections to related docs.
comment:5 by , 15 years ago
milestone: | 1.2 |
---|
This isn't critical to 1.2; we can always go back and expand documentation as needed, so attention should focus on actual bugs.
comment:6 by , 14 years ago
Type: | → New feature |
---|
comment:7 by , 14 years ago
Severity: | → Normal |
---|
comment:11 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Docs for authenticated comment form