[development] Styling comment blocks according to vote results
anton.list at gmail.com
Tue Jan 16 19:25:26 UTC 2007
On 17/01/07, Ben Campbell <ben at scumways.com> wrote:
> But I'm not 100% sure of the best way to apply different looks to
> differently rated comments.
I'd be inclined to make a $ratingclass (or whatever) variable that
contains your CSS class available to the comment.tpl.php template.
Then just make use of it (you could check whether it exists first) in
More information about the development