Adding New Fields to Comments in Drupal 7

Drupal 7 has many advantages over Drupal 6. Most of the modules have been ported, customizing comments and user profiles is easier and overall, it just runs faster. One of the main improvements, though, is the ability to add fields to different system areas, including Comments, Taxonomies and the User Profiles.

I recently added custom fields to the comments section of a Drupal website and found that it wasn’t as intuitive as I thought it’d be. It’s an easy thing to do, but the options are a little buried and not where very many people might expect at first glance. Let’s take a look.

To edit or add fields to your Drupal 7 comments, follow these simple steps:

1. Login to your Drupal 7 install and click “Structure” at the top

 

2. Click on “Content Types” – (note: you’d think this would be the last step and this is where they live, but there are a few more steps you need to take)

 

3. Click on “Edit” for the Content Type you’d like to like to change the comments on.

 

4. Click on “Comment Fields” in the top right

 

5. That’s it! The comment fields are SPECIFIC to the CONTENT TYPE you’re on.

Drupal does it this way to give you flexibility on your comments and fields. So, in theory, you can have the fields on your blog comments can be different than the fields on your news comments. This added flexibility also makes it one step harder to find though, so I hoped this helped you save a step and some looking around. Let me know if you have any questions or are unable to find something.

Our Thoughts

Year 30 – A Recap of The Past Twelve Months

Pausing to Smile Over the last twelve months, we’ve passed quite a few milestones as a company. First, we celebrated thirty years of being in business last June. Three decades of growth. 30 years of adapting. It’s been an incredible journey. This year we also hired our 50th employee making us an official mid-sized business. That was only a few months ago, and we’re already close to reaching 60 people. It’s exciting to see the ongoing growth, as well...

Julia and Jenna join the ranks of KPS3 ownership

Julia Jones, director of SEO & digital media, and Jenna Hubert, creative director, are the newest agency shareholders. Both Jones and Hubert have been with KPS3 for more than 10 years and have played an active role in growing the team from 10 employees to more than 55 in the last decade. “Julia and Jenna are crazy talented individuals who have contributed greatly to the success of KPS3,” said Rob Gaedtke, president and CEO. “We are committed to a...

Everything you need to know about social media in 2022: Part One

Instagram and TikTok The world of social media tends to ebb and flow— similarly to Reno’s weather—with blistering heat in December and flurries in July. It’s almost impossible to keep up with the constant software updates, algorithm changes, and trends; however, it’s a crucial part of staying relevant as a business.   If you haven’t already adopted social media into your business marketing plan there are a plethora of reasons why you should definitely be considering it. Businesses lean on...