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
Description

small patch attached, that moves much of the markup out to a themeable function, so it can be overridden.

AttachmentSize
comments_page.patch1.67 KB

#1

mulogic - August 19, 2008 - 04:43

This will be very useful. Will this patch be included in the release?

#2

Macarro - January 3, 2009 - 20:54

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

 
 

Drupal is a registered trademark of Dries Buytaert.