<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 18 Jun 2013 17:41:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Digett.com: How to Theme the Comment Form in Drupal 6]]></title>
      <guid>http://www.phpdeveloper.org/news/14733</guid>
      <link>http://www.phpdeveloper.org/news/14733</link>
      <description><![CDATA[<p>
If you're a Drupal user and are looking for a way to change up that standard comment form that comes pre-loaded in the site, you should check out <a href="http://www.digett.com/2010/06/29/how-theme-comment-form-drupal-6">this new post</a> on the Digett blog about the handy <a href="http://api.drupal.org/api/function/hook_form_alter">hook_form_alter</a> function.
</p>
<blockquote>
I've grown to have an affinity for Drupal's <a href="http://api.drupal.org/api/function/hook_form_alter">hook_form_alter</a> function. Truly, modifying a form doesn't have to be as complicated as it may seem. One of the most generic Drupal forms (in my opinion) is the pesky comment form. Out of the box, it comes complete with name, email, homepage, subject, and comment fields.
</blockquote>
<p>
A few snippets of code included in the post show you how to customize the form by removing some fields, changing labels on others and update the value of one of the buttons - all with a simple implementation of a hook theme.
</p>]]></description>
      <pubDate>Thu, 01 Jul 2010 11:26:02 -0500</pubDate>
    </item>
  </channel>
</rss>
