Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2005 at 12:25 UTC
Updated:
31 Jan 2006 at 18:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
finex commentedOk, the patch works in CVS!
Comment #2
Wesley Tanaka commentedpatch still applies against 4.7.0-test2
Comment #3
Tobias Maier commentedI think it would be better to introduce a theme_comment_block() function so we can change the whole look and not only some visual settings
Comment #4
killes@www.drop.org commentedI agree with Tobias. In any case this is neither a bug nor critical.
Comment #5
Wesley Tanaka commentedComment #6
Wesley Tanaka commentedTrying to distinguish between bug and feature without a spec is a bit academic, but I was under the impression that the (as far as i know, implicit and undocumented) specification of drupal is that it shouldn't be outputting things that can't be themed.
That certainly seems to be the philosophy, and one of the things that attracted me about the project in the first place.
Comment #7
Tobias Maier commentedwe want that the code and style/theme gets completely seperated.
You have a sql query in your theme-function
please modify it so that it gets an array with comments... (maybe you have to introduce a second helper function...)
thanks tobi
Comment #8
chrisada commented+1 for the idea.
I find the hard coded comment area very inflexible.
Comment #9
Wesley Tanaka commentedThe problem is the hard coded 10 is being passed to the SQL function. Is there a mechanism other than theme functions (rejected in comment #7), hook callbacks (not appropriate here) or configuration variables (rejected in comment #3) that can be used to get a piece of data (like a replacement count) into the system?
Unless by second helper function you mean a second theme function that doesn't return HTML, but instead returns the data structure...
Attaching a (untested) patch which I don't think you're actually suggesting.
Comment #10
Wesley Tanaka commentedComment #11
dries commentedCommitted to HEAD. Thanks.
Comment #12
(not verified) commented