Hello, in a recent project working with Drupal 4.6.4 I noticed that I had not enough control over comments styling. I reviewed comment.module and noticed 4 lines in the code where the $output variable is creating an HTML form element, instead of using some theme function, so I'm not able to attach attributes such as class or id and use some CSS rules for the form element.
I know 4.7 and the new forms API are just around the corner, I'm working in my next own site using it from CVS, but some 4.6.x based sites could benefit from being able to theme comments.
Maybe comment.module could be patched but I'm not sure how to proceed about it and integrate a theme function in there, I will be glad to help and code something if anybody could suggest the best way of doing this.
Regards!
Comments
Comment #1
Borek-1 commentedPlease pay some attention to this feature request because comment theming is very important. You normally want to theme page layout, header, footer, sidebars, content and comments. Everything is ready for theming except comments which is bad.
Comment #2
magico commentedAs I understand the question was about to backport some 4.7 comment theme functions to 4.6
@Borek: You say that everything is prepared to theming except comments. If so, then this would not be a feature but a bug report. Can you explain better why comments are not prepared for theming? This way we can try to solve the problem.
Until then, I'm considering only the Borek post (and marking this as "bug"). I don't think that anyone will backport comments theme functions to 4.6
Comment #3
magico commentedComment #4
(not verified) commented