allow comments to be themed
Shiny - November 14, 2007 - 00:32
| Project: | Comments Page |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Shiny |
| Status: | needs review |
Jump to:
Description
small patch attached, that moves much of the markup out to a themeable function, so it can be overridden.
| Attachment | Size |
|---|---|
| comments_page.patch | 1.67 KB |

#1
This will be very useful. Will this patch be included in the release?
#2
Can't be this module build as an extra option for views module?
I mean, views module is highly customizable but, unfortunately you can't filter content wich is not a comment (you can only display nodes+comments from certain user). If, through an extra module, you gain direct access to comments, it could be perfect and you could display user's comments in whatever way you want.
Kind regards.
UPDATE:
I'm trying to theme the output to get as close as possible to table output from views and I found I can't use the $comment->subject variable wich contains the title of the comment. I don't know anything about mysql queries so I can't get this information from the database. I think this information would be helpful to show something like:
USER wrote SUBJECT in node TITLE at TIME
Kind regards