<?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: Custom Fields in Drupal Event Signups</title>
	<atom:link href="http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/</link>
	<description>apparently much happier in person</description>
	<lastBuildDate>Fri, 20 Nov 2009 14:35:07 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Don Asok</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-195681</link>
		<dc:creator>Don Asok</dc:creator>
		<pubDate>Mon, 31 Aug 2009 09:06:05 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-195681</guid>
		<description>Hi,

Your Tutorial was very helpful but is there in any way to enable a text area only when the user select the &quot;Other&quot; option


with regards,
Don Asok</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your Tutorial was very helpful but is there in any way to enable a text area only when the user select the &#8220;Other&#8221; option</p>
<p>with regards,<br />
Don Asok</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lars Olesen</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-195337</link>
		<dc:creator>Lars Olesen</dc:creator>
		<pubDate>Thu, 25 Jun 2009 10:47:00 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-195337</guid>
		<description>I successfully used the procedure from this blog post. However, how do I alter the signups list, so I can view the fields I have added?</description>
		<content:encoded><![CDATA[<p>I successfully used the procedure from this blog post. However, how do I alter the signups list, so I can view the fields I have added?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-195315</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 22 Jun 2009 17:49:05 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-195315</guid>
		<description>This was still useful to me today.  I used pasted the code from the signup_form.inc file into my template.php for my zen subtheme.  Since my site used events for other purposes and did not want the extra fields in all events, I create a new event type called &#039;parade&#039; and used an if statement to control if the extra fields showed up like this: 
&lt;code&gt;
if (!empty($node) &amp;&amp; $node-&gt;node-type == t(&#039;special_node_type_name_here&#039;)) {
  $form[&#039;signup_form_data&#039;][&#039;Faculty&#039;] = array(
    &#039;#type&#039; =&gt; &#039;textfield&#039;,
    &#039;#title&#039; =&gt; t(&#039;Faculty or Department&#039;),
    &#039;#size&#039; =&gt; 40,
    &#039;#maxlength&#039; =&gt; 64
  );
  $form[&#039;signup_form_data&#039;][&#039;Status&#039;] = array(
    &#039;#type&#039; =&gt; &#039;select&#039;,
    &#039;#title&#039; =&gt; t(&#039;Status&#039;),
    &#039;#default_value&#039; =&gt; t(&#039;Faculty Member&#039;),
    &#039;#options&#039; =&gt; array(
      &#039;faculty&#039; =&gt; t(&#039;Faculty Member&#039;),
      &#039;staff&#039; =&gt; t(&#039;Staff&#039;),
      &#039;student&#039; =&gt; t(&#039;Student&#039;),
      &#039;other&#039; =&gt; t(&#039;Other&#039;)
    )
  );
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>This was still useful to me today.  I used pasted the code from the signup_form.inc file into my template.php for my zen subtheme.  Since my site used events for other purposes and did not want the extra fields in all events, I create a new event type called &#8216;parade&#8217; and used an if statement to control if the extra fields showed up like this:<br />
<code><br />
if (!empty($node) &amp;&amp; $node-&gt;node-type == t('special_node_type_name_here')) {<br />
  $form['signup_form_data']['Faculty'] = array(<br />
    '#type' =&gt; 'textfield',<br />
    '#title' =&gt; t('Faculty or Department'),<br />
    '#size' =&gt; 40,<br />
    '#maxlength' =&gt; 64<br />
  );<br />
  $form['signup_form_data']['Status'] = array(<br />
    '#type' =&gt; 'select',<br />
    '#title' =&gt; t('Status'),<br />
    '#default_value' =&gt; t('Faculty Member'),<br />
    '#options' =&gt; array(<br />
      'faculty' =&gt; t('Faculty Member'),<br />
      'staff' =&gt; t('Staff'),<br />
      'student' =&gt; t('Student'),<br />
      'other' =&gt; t('Other')<br />
    )<br />
  );<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Art</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-195080</link>
		<dc:creator>Art</dc:creator>
		<pubDate>Wed, 20 May 2009 21:36:22 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-195080</guid>
		<description>Actually you shouldn&#039;t add the code to signup/theme/signup_form.inc

You should follow the direction in singup_form.inc:
Copy the entire function theme_signup_user_form from signup_form.inc.
Paste it into template.php
Change the name of the function in template.php to yourthemename_signup_user_form
Make the changes to this function as this tutorial explains.
Then clear your the theme registry for the changes to take effect.
   To clear the theme registry, do one of the following things:
     1. On the &quot;Administer &gt; Site configuration &gt; Performance&quot; page, click on the &quot;Clear cached data&quot; button.
     2. With Devel block enabled (comes with devel module), click the &quot;Empty cache&quot; link.
     3. With Admin Menu module enabled go to admin_menu/flush-cache/theme</description>
		<content:encoded><![CDATA[<p>Actually you shouldn&#8217;t add the code to signup/theme/signup_form.inc</p>
<p>You should follow the direction in singup_form.inc:<br />
Copy the entire function theme_signup_user_form from signup_form.inc.<br />
Paste it into template.php<br />
Change the name of the function in template.php to yourthemename_signup_user_form<br />
Make the changes to this function as this tutorial explains.<br />
Then clear your the theme registry for the changes to take effect.<br />
   To clear the theme registry, do one of the following things:<br />
     1. On the &#8220;Administer &gt; Site configuration &gt; Performance&#8221; page, click on the &#8220;Clear cached data&#8221; button.<br />
     2. With Devel block enabled (comes with devel module), click the &#8220;Empty cache&#8221; link.<br />
     3. With Admin Menu module enabled go to admin_menu/flush-cache/theme</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joomler</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-194474</link>
		<dc:creator>Joomler</dc:creator>
		<pubDate>Tue, 10 Feb 2009 15:27:12 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-194474</guid>
		<description>I think its good article!  But not full, and may be difficult to implement for beginners (as i am:-))

I should make all clear: when you add a code with custom field definiton, posted in article to your template.php file  you MUST add the same code to the your signup_form.inc file (locatet in ...sites\all\modules\signup\theme\).
if you dont add you will see blank drupal page or no your field showed up.

So you see you must touch yhe code of the module.
I spent 1 day trying to implement all this</description>
		<content:encoded><![CDATA[<p>I think its good article!  But not full, and may be difficult to implement for beginners (as i am:-))</p>
<p>I should make all clear: when you add a code with custom field definiton, posted in article to your template.php file  you MUST add the same code to the your signup_form.inc file (locatet in &#8230;sites\all\modules\signup\theme\).<br />
if you dont add you will see blank drupal page or no your field showed up.</p>
<p>So you see you must touch yhe code of the module.<br />
I spent 1 day trying to implement all this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MatthewWoodard.com</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-194253</link>
		<dc:creator>MatthewWoodard.com</dc:creator>
		<pubDate>Mon, 05 Jan 2009 18:12:36 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-194253</guid>
		<description>How can you make certain fields required...?</description>
		<content:encoded><![CDATA[<p>How can you make certain fields required&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefanie</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-194052</link>
		<dc:creator>Stefanie</dc:creator>
		<pubDate>Wed, 19 Nov 2008 15:14:33 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-194052</guid>
		<description>Thank you so much. I was looking to do something exactly like this and your solution came up. This was very helpful.</description>
		<content:encoded><![CDATA[<p>Thank you so much. I was looking to do something exactly like this and your solution came up. This was very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanya</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-165207</link>
		<dc:creator>Tanya</dc:creator>
		<pubDate>Fri, 11 Jan 2008 19:57:58 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-165207</guid>
		<description>thank you so much, this was very helpful. 

what if i want to make some fields required, how would i do that?</description>
		<content:encoded><![CDATA[<p>thank you so much, this was very helpful. </p>
<p>what if i want to make some fields required, how would i do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christina</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-124390</link>
		<dc:creator>Christina</dc:creator>
		<pubDate>Mon, 15 Oct 2007 02:14:19 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-124390</guid>
		<description>I am needing to do the exactly the same thing, but you lost me on where you placed the code for the edits. it sounded like in the theme template (in any particular place). More specifically how can I create several different signup forms using the same theme? Possible?</description>
		<content:encoded><![CDATA[<p>I am needing to do the exactly the same thing, but you lost me on where you placed the code for the edits. it sounded like in the theme template (in any particular place). More specifically how can I create several different signup forms using the same theme? Possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ABC</title>
		<link>http://www.darcynorman.net/2006/12/12/custom-fields-in-drupal-event-signups/#comment-122961</link>
		<dc:creator>ABC</dc:creator>
		<pubDate>Tue, 09 Oct 2007 15:48:23 +0000</pubDate>
		<guid isPermaLink="false">979466290#comment-122961</guid>
		<description>Awesome, helped a lot! Wonderful you are man!</description>
		<content:encoded><![CDATA[<p>Awesome, helped a lot! Wonderful you are man!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
