<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Add a field to Contact Us form in Drupal</title>
	<atom:link href="http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/</link>
	<description></description>
	<lastBuildDate>Wed, 28 Jul 2010 12:27:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Mauricio Kenton</title>
		<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/comment-page-1/#comment-7541</link>
		<dc:creator>Mauricio Kenton</dc:creator>
		<pubDate>Fri, 05 Mar 2010 19:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gillumiante.com/2008/03/05/add-a-field-to-contact-us-form-in-drupal#comment-7541</guid>
		<description>Dreamweaver has been lately my personal goto software for years.  I really do not know what I would do without having it.  There were times when I first began making use of the software, and I thought it was way too difficult.  Now I fly around it, and it has become a great asset in my tool box.  Anyways thank you for the article.</description>
		<content:encoded><![CDATA[<p>Dreamweaver has been lately my personal goto software for years.  I really do not know what I would do without having it.  There were times when I first began making use of the software, and I thought it was way too difficult.  Now I fly around it, and it has become a great asset in my tool box.  Anyways thank you for the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denni</title>
		<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/comment-page-1/#comment-6892</link>
		<dc:creator>Denni</dc:creator>
		<pubDate>Wed, 15 Jul 2009 00:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gillumiante.com/2008/03/05/add-a-field-to-contact-us-form-in-drupal#comment-6892</guid>
		<description>Yo, thank you for this informative tutorial. The tutorial helped me improving my skills greatly. It is always gorgeous to get some new inspiration and I hope to read more of such posts here the next time because nobody will ever stop learning new things. Cheers</description>
		<content:encoded><![CDATA[<p>Yo, thank you for this informative tutorial. The tutorial helped me improving my skills greatly. It is always gorgeous to get some new inspiration and I hope to read more of such posts here the next time because nobody will ever stop learning new things. Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nei Rauni Santos</title>
		<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/comment-page-1/#comment-6577</link>
		<dc:creator>Nei Rauni Santos</dc:creator>
		<pubDate>Mon, 15 Jun 2009 04:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gillumiante.com/2008/03/05/add-a-field-to-contact-us-form-in-drupal#comment-6577</guid>
		<description>I&#039;m trying do it too. But hack the code isn&#039;t a good idea.. I created a new module to do it:

&lt;code&gt;
  # add a checkbox in contact form to subscribe on newsletter
  if( $form_id == &#039;contact_mail_page&#039; &#124;&#124; $form_id == &#039;bauma_deixe_seu_numero_form&#039; ){
    
    $form[&#039;key&#039;] = array(
      &#039;#type&#039; =&gt; &#039;checkbox&#039;,
      &#039;#title&#039; =&gt; t(&#039;Sign me up for the Newsletter&#039;),
      &#039;#weight&#039; =&gt; 1,
    );
    
    // replace the submit button to checkbox is before
    $form[&#039;submit&#039;] = array(
      &#039;#type&#039; =&gt; &#039;submit&#039;,
      &#039;#value&#039; =&gt; t(&#039;Send e-mail&#039;),
      &#039;#weight&#039; =&gt; 2,
    );
    
  }
&lt;/code&gt;

But, I already don&#039;t know what the hook I can use to subscribe the user..</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying do it too. But hack the code isn&#8217;t a good idea.. I created a new module to do it:</p>
<p><code><br />
  # add a checkbox in contact form to subscribe on newsletter<br />
  if( $form_id == 'contact_mail_page' || $form_id == 'bauma_deixe_seu_numero_form' ){</p>
<p>    $form['key'] = array(<br />
      '#type' =&gt; 'checkbox',<br />
      '#title' =&gt; t('Sign me up for the Newsletter'),<br />
      '#weight' =&gt; 1,<br />
    );</p>
<p>    // replace the submit button to checkbox is before<br />
    $form['submit'] = array(<br />
      '#type' =&gt; 'submit',<br />
      '#value' =&gt; t('Send e-mail'),<br />
      '#weight' =&gt; 2,<br />
    );</p>
<p>  }<br />
</code></p>
<p>But, I already don&#8217;t know what the hook I can use to subscribe the user..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt White</title>
		<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/comment-page-1/#comment-5505</link>
		<dc:creator>Matt White</dc:creator>
		<pubDate>Mon, 22 Sep 2008 03:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gillumiante.com/2008/03/05/add-a-field-to-contact-us-form-in-drupal#comment-5505</guid>
		<description>If you need something more than the site-wide contact form use http://www.drupal.org/project/webform instead. Much more flexible, and you can add as many fields as you want!</description>
		<content:encoded><![CDATA[<p>If you need something more than the site-wide contact form use <a href="http://www.drupal.org/project/webform" rel="nofollow">http://www.drupal.org/project/webform</a> instead. Much more flexible, and you can add as many fields as you want!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/comment-page-1/#comment-5354</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 17 Jun 2008 03:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gillumiante.com/2008/03/05/add-a-field-to-contact-us-form-in-drupal#comment-5354</guid>
		<description>Not a good idea to hack anything core.  Write the module instead.

But, good tip otherwise.</description>
		<content:encoded><![CDATA[<p>Not a good idea to hack anything core.  Write the module instead.</p>
<p>But, good tip otherwise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sherifmayika</title>
		<link>http://www.gilluminate.com/2008/03/04/add-a-field-to-contact-us-form-in-drupal/comment-page-1/#comment-5348</link>
		<dc:creator>sherifmayika</dc:creator>
		<pubDate>Wed, 11 Jun 2008 08:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.gillumiante.com/2008/03/05/add-a-field-to-contact-us-form-in-drupal#comment-5348</guid>
		<description>I have plan to write tutorial for this for drupal 6 
at my blog
&lt;a href=&#039;http://dreamweaverdrupalthemeextension.blogspot.com/&#039; rel=&quot;nofollow&quot;&gt;About Us&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I have plan to write tutorial for this for drupal 6<br />
at my blog<br />
<a href='http://dreamweaverdrupalthemeextension.blogspot.com/' rel="nofollow">About Us</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
