comments

Theming comments with phptemplate

How did I style comments and how did I use rounded corners using CSS Speech Bubbles from willmayo.com in my theme without hacking any other modules...

Adding wrapper

First, I created a new function in my template.php -> phptemplate_comment_wrapper which as it's written in Drupal's API allow themeable wrapping of all comments.

My function looks like this:




Need Drupal Theming? Hire us

Subscribe to comments