I added a integer list field called "field_rating" to the core comments. Now I want to use the new field directly in my comment.tpl.php with it's display settings, but I just don't know how to do that despite this should be a no-brainer. Help is much appreciated.

1 Answer 1


All you gotta do is add <?php print render($content['field_rating']); ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.