Adding one or more fields to the Drupal 7 contact form

Usually when someone wants a custom contact form on their Drupal website the easiest solution is to use the webform module, however if you don't need to store submissions on your site, and you're only looking to add one or two fields, adding fields with a form_alter might be a better option for you.

This would probably be especially true if you had no other reason to install the webform module on your site.


Parsing a Youtube URL

More than a few times in the past few years I've been tasked with enabling a user to add a youtube video to a piece of content in Drupal.

Sure there are specific modules out there that try to address this, but more often than not they do way more than what is needed, which generally ends up being simply that -- I want a youtube video added to this content type.

Well, I've once again had to deal with this situation, and this time around I think I found a fairly elegant solution.


Building a custom realtime chat module for Drupal 7 (part 3)

If you've followed along with my previous two posts in this series, you should now have a functioning chat on your Drupal 7 site.

If not, start with those: Part 1, Part 2

That's kind of exciting, right? But we can make it better!