<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://jodyhamilton.net"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Jody Hamilton - drupal</title>
 <link>http://jodyhamilton.net/taxonomy/term/4/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>Theming Sidebars and Panels</title>
 <link>http://jodyhamilton.net/theming-sidebars-and-panels</link>
 <description>&lt;p&gt;Here&amp;#8217;s a pretty basic css technique I&amp;#8217;ve noticed myself using a lot of lately (not at all my own invention).  The divs used as examples come from zen theme.&lt;/p&gt;

&lt;p&gt;Often a design calls for putting a background (or border) on a sidebar.  It should look as so:&lt;br /&gt;
&lt;img src=&quot;/sites/jodyhamilton.net/files/goal.jpg&quot; alt=&quot;goal&quot; /&gt;&lt;br /&gt;
If you haven&amp;#8217;t been down this route before, you will probably try something like&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#sidebar-right{&lt;br /&gt;&amp;nbsp; background: #123456;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jodyhamilton.net/theming-sidebars-and-panels&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jodyhamilton.net/theming-sidebars-and-panels#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/theming">theming</category>
 <pubDate>Wed, 12 Mar 2008 12:30:09 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">31 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Node theming by field: deconstructing $node-&gt;content in Drupal 5</title>
 <link>http://jodyhamilton.net/node-theming-field-deconstructing-node-content-drupal-5</link>
 <description>&lt;p&gt;The CCK &amp;#8216;display fields&amp;#8217; settings are very useful for theming nodes by content type, but I often find myself having to get further into customizing node output field by field.&lt;/p&gt;

&lt;p&gt;Once I decide there&amp;#8217;s no way getting around taking finer control of my node&amp;#8217;s fields, I create a node-{type}.tpl.php by copying my existing node.tpl.php and open up Devel&amp;#8217;s &amp;#8216;Node Render&amp;#8217; tab.  Then I delete the $content variable from the template and start adding things like &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;field_image&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#value&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]; &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; and &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$node&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;body&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#value&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]; &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; The $content variable is nice for amateurs, but we need the unrendered $node-&amp;gt;content to get good control of a node.&lt;/p&gt;

&lt;p&gt;While this gives me complete control over the output of the node&amp;#8217;s fields, the drawback is that now if I add a new field to the node, or if I add a module that adds something to $node-&amp;gt;content, I have to go back to my template and add in this new element.  Because I often do my theming and development in parallel, this can be rather annoying, and there is also a danger that I could overlook doing it.&lt;/p&gt;

&lt;p&gt;Therefore I think it may be more practical to use code like this in the node template:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jodyhamilton.net/node-theming-field-deconstructing-node-content-drupal-5&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jodyhamilton.net/node-theming-field-deconstructing-node-content-drupal-5#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/theming">theming</category>
 <pubDate>Mon, 11 Feb 2008 23:53:52 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">28 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Module: MyAccount_alter</title>
 <link>http://jodyhamilton.net/module-myaccountalter</link>
 <description>&lt;p&gt;I often find myself needing to get rid of some of the sections on Drupal&amp;#8217;s &amp;#8216;My Account&amp;#8217; page.  Not every site needs it to say &amp;#8216;History: Member for 1 day&amp;#8217; for example, and if you use a lot of contributed modules that screen can get cluttered fast.  So this morning I got sick of dealing with it, found there is a perfectly good hook_profile_alter there to work with, and wrote a little module to let administrators disable these fields.  Let me know how you like it: &lt;a href=&quot;http://drupal.org/project/myaccount_alter&quot; title=&quot;http://drupal.org/project/myaccount_alter&quot; rel=&quot;nofollow&quot;&gt;http://drupal.org/project/myaccount_alter&lt;/a&gt; (currently Drupal 5 only)&lt;/p&gt;
</description>
 <comments>http://jodyhamilton.net/module-myaccountalter#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/featured-project">featured project</category>
 <pubDate>Wed, 06 Feb 2008 12:19:08 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">19 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Drupal Time-savers</title>
 <link>http://jodyhamilton.net/drupal-time-savers</link>
 <description>&lt;p&gt;If you work freelance like I do, you know that time is money.  I&amp;#8217;m always trying to shave a few more seconds off my development time.  Here are a few tips and tricks that I constantly use:&lt;/p&gt;

&lt;ul&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://jodyhamilton.net/drupal-time-savers&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jodyhamilton.net/drupal-time-savers#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/taxonomy/term/14">firefox</category>
 <pubDate>Tue, 05 Feb 2008 19:35:07 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">18 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Project: cfdv.org</title>
 <link>http://jodyhamilton.net/project-cfdvorg</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://cfdv.org&quot; rel=&quot;nofollow&quot;&gt;CFDV.org&lt;/a&gt; is the website for the &lt;em&gt;The Chromatography Forum of Delaware Valley&lt;/em&gt;.  Chromatography is a discipline of chemistry which is used to separate mixtures for analysis.  For example, when your aspirin is tested to be 99.7% pure that was determined with chromatography by an analytical chemist.  Likewise when your urine is tested to contain marijuana that was also determined by chromatography.  Chromatography is a complex science and is used extensively in the pharmaceutical industry- an industry which has a large presence in the Delaware Valley.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jodyhamilton.net/project-cfdvorg&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jodyhamilton.net/project-cfdvorg#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/featured-project">featured project</category>
 <category domain="http://jodyhamilton.net/jquery">jquery</category>
 <pubDate>Sun, 03 Feb 2008 14:08:34 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">16 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Project: OnlyAlumni.com</title>
 <link>http://jodyhamilton.net/project-onlyalumnicom</link>
 <description>&lt;p&gt;One project I&amp;#8217;m currently working on which is already live is &lt;a href=&quot;http://onlyalumni.com&quot; rel=&quot;nofollow&quot;&gt;OnlyAlummni.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Instead of having to build the entire site, I have a smart client who set up the site and had me work only on the trickier (fun) parts of this project.  OnlyAlumni is a social networking site with about 8000 colleges, fraternities and sororities which operate as Drupal organic groups.  This has been a great project for me to go much more in depth with &lt;a href=&quot;http://drupal.org/project/og&quot; rel=&quot;nofollow&quot;&gt;organic groups&lt;/a&gt; and related modules.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jodyhamilton.net/project-onlyalumnicom&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jodyhamilton.net/project-onlyalumnicom#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/featured-project">featured project</category>
 <category domain="http://jodyhamilton.net/lullabot">lullabot</category>
 <pubDate>Thu, 24 Jan 2008 11:38:21 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">8 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Teleport module</title>
 <link>http://jodyhamilton.net/teleport-module</link>
 <description>&lt;p&gt;I am loving this drupal 6 &lt;a href=&quot;http://drupal.org/project/teleport&quot; rel=&quot;nofollow&quot;&gt;teleport module&lt;/a&gt;.  Thank you &amp;#8216;incidentist&amp;#8217;.  It really is quicksilver for drupal.  You type in a few letters and it autocompletes paths you might want to visit- no mouse involved.  For example, to post this story I pressed ctrl-T &amp;#8216;stor&amp;#8217; enter-enter, and it took me to node/add/story.  &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://drupal.org/project/admin_menu&quot; rel=&quot;nofollow&quot;&gt;Admin_menu&lt;/a&gt;: my loyalties have shifted.  Our time together was pretty good, but you can&amp;#8217;t compete with keyboard shortcuts.&lt;/p&gt;
</description>
 <comments>http://jodyhamilton.net/teleport-module#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <pubDate>Tue, 22 Jan 2008 18:58:38 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">6 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>Lullabot trip - Portland</title>
 <link>http://jodyhamilton.net/lullabot-trip-portland</link>
 <description>&lt;p&gt;I just got back from Portland where I took &lt;a href=&quot;http://lullabot.com&quot; rel=&quot;nofollow&quot;&gt;Lullabot&lt;/a&gt;&amp;#8217;s advanced drupal development course.  Not only did the class take me to a wild new level of Drupalhood, but I was blown away by how great a city Portland is.  It made me feel the intense masochism of the act of living in Philadelphia.  Every detail was greeting me with unexpected good things, as opposed to Philly where every detail is just another slap in the face.  Free fast wireless in their airport.  Spotless trains coming every five minutes and asking you to pay on the honor system.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jodyhamilton.net/lullabot-trip-portland&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jodyhamilton.net/lullabot-trip-portland#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <category domain="http://jodyhamilton.net/lullabot">lullabot</category>
 <pubDate>Mon, 14 Jan 2008 14:46:12 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">3 at http://jodyhamilton.net</guid>
</item>
<item>
 <title>New Site</title>
 <link>http://jodyhamilton.net/new-site</link>
 <description>&lt;p&gt;Over the past year I&amp;#8217;ve devoted myself to &lt;a href=&quot;http://drupal.org&quot; rel=&quot;nofollow&quot;&gt;drupal&lt;/a&gt; development and a new site made in drupal has been long overdue.&lt;/p&gt;

&lt;p&gt;This site is freshly built in Drupal 6 (currently in Release Candidate 1).  It took about three hours to build (the majority of that was the design work) - Drupal 6 is even faster to set up than Drupal 5.&lt;/p&gt;

&lt;p&gt;I plan to bring in the best of my music and comics from previous incarnations of my website, and also use this site as part random blog and part drupal-related work portfolio.&lt;/p&gt;
</description>
 <comments>http://jodyhamilton.net/new-site#comments</comments>
 <category domain="http://jodyhamilton.net/drupal">drupal</category>
 <pubDate>Thu, 27 Dec 2007 23:35:24 -0500</pubDate>
 <dc:creator>jody</dc:creator>
 <guid isPermaLink="false">1 at http://jodyhamilton.net</guid>
</item>
</channel>
</rss>
