<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://www.chrisfree.me">
<channel>
 <title>chrisfree.me</title>
 <link>http://www.chrisfree.me</link>
 <description />
 <language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/chrisfree" /><feedburner:info uri="chrisfree" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
 <title>Use hook_views_query_alter to handle special sort cases</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/Qxhr6WCcIjo/use-hookviewsqueryalter-handle-special-sort-cases</link>
 <description>&lt;p&gt;This week I ran into a problem I&amp;#8217;d never run into before with a view.  I needed to specify some custom sorting that the Views UI simply doesn&amp;#8217;t have options for.  Luckily, views provides a hook for just this situation.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/12/use-hookviewsqueryalter-handle-special-sort-cases" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/Qxhr6WCcIjo" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/12/use-hookviewsqueryalter-handle-special-sort-cases#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal">drupal</category>
 <category domain="http://www.chrisfree.me/category/categories/quick-tips">quick tips</category>
 <category domain="http://www.chrisfree.me/category/categories/views">views</category>
 <pubDate>Sun, 19 Dec 2010 22:39:05 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">21 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/12/use-hookviewsqueryalter-handle-special-sort-cases</feedburner:origLink></item>
<item>
 <title>Use Alfred to Search Drupal API Documentation</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/qBC4qIfhxGw/use-alfred-search-drupal-api-documentation</link>
 <description>&lt;p&gt;Quick tip on how I use Alfred to search Drupal &lt;span class="caps"&gt;API&lt;/span&gt; Documentation right from my desktop.  Saves me tons of time and I love a solution that keeps my hands off of my mouse.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/12/use-alfred-search-drupal-api-documentation" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/qBC4qIfhxGw" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/12/use-alfred-search-drupal-api-documentation#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal">drupal</category>
 <category domain="http://www.chrisfree.me/category/categories/quick-tips">quick tips</category>
 <pubDate>Fri, 17 Dec 2010 21:00:19 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">20 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/12/use-alfred-search-drupal-api-documentation</feedburner:origLink></item>
<item>
 <title>Create a Drupal Photo Gallery Using Flickr, CCK &amp; Views, Take Two</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/5tr5TcTpZ-Q/create-drupal-photo-gallery-using-flickr-cck-views-take-two</link>
 <description>&lt;p&gt;Back in February, I wrote a quick tutorial on how you can leverage Views, &lt;span class="caps"&gt;CCK&lt;/span&gt; and the Flickr module to create a photo gallery in Drupal.  It is by far the most popular post on this humble site of mine (garnering about 36% of my traffic).  Long story short, the Flickr module was updated (for the better) and the tutorial was outdated.  The technique I described in the &lt;a href="/2010/02/create-drupal-photo-gallery-using-flickr-cck-views"&gt;original tutorial&lt;/a&gt; was no longer correct.  So, people following it (trusing that I knew what I was talking about) couldn&amp;#8217;t replicate the results.   This post is long overdue but I hope it helps clear things up on how to get the same results with the new Flickr module.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/12/create-drupal-photo-gallery-using-flickr-cck-views-take-two" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/5tr5TcTpZ-Q" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/12/create-drupal-photo-gallery-using-flickr-cck-views-take-two#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal">drupal</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-6">drupal 6</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-planet">drupal-planet</category>
 <category domain="http://www.chrisfree.me/category/categories/modules">modules</category>
 <category domain="http://www.chrisfree.me/category/categories/tutorials">tutorials</category>
 <pubDate>Thu, 02 Dec 2010 17:11:39 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">19 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/12/create-drupal-photo-gallery-using-flickr-cck-views-take-two</feedburner:origLink></item>
<item>
 <title>Disable Comments by Default</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/LsrfxSHUd9A/disable-comments-default</link>
 <description>&lt;p&gt;A quick post here.  Often times I find myself building sites that have a blog and thus use the Comment module that ships with Drupal.  That all works great.  The problem is, later when I&amp;#8217;m building out other content types, say &lt;a href="http://www.chrisfree.me/2010/02/create-drupal-photo-gallery-using-flickr-cck-views"&gt;Photo Galleries&lt;/a&gt;, I more often than not wish to disable comments on those node types.  No problem, right?  Just disable comments and get on with it.  Well no &amp;#8211; it&amp;#8217;s not all right with me.  I think comments should be disabled by default or at the very least, the Comments fieldset should be expanded by default so that you&amp;#8217;re reminded to turn them off.  Unfortunately, neither of these things are true on Drupal 6.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/06/disable-comments-default" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/LsrfxSHUd9A" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/06/disable-comments-default#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal">drupal</category>
 <category domain="http://www.chrisfree.me/category/categories/forms">forms</category>
 <category domain="http://www.chrisfree.me/category/categories/modules">modules</category>
 <enclosure url="http://www.chrisfree.me/sites/default/files/form_overrides_0.zip" length="1660" type="application/zip" />
 <pubDate>Wed, 16 Jun 2010 20:14:59 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">18 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/06/disable-comments-default</feedburner:origLink></item>
<item>
 <title>Drupal 101: 10 Tips for Drupal Beginners</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/PD_jhqn-WIo/drupal-101-10-tips-drupal-beginners</link>
 <description>&lt;p&gt;You often hear people say that the learning curve for Drupal is &lt;strong&gt;steep&lt;/strong&gt;.  They aren&amp;#8217;t kidding &amp;#8211; it is.  I remember when I first started Drupaling, I had so many questions:  How do I do this?  How do I change that?  What are Views?  How the hell do I get images into my content?  How do I theme?  The Drupal documentation and community has come a long way in the few years since then, but even still, diving in to Drupal can be a bit daunting.  In an effort to help remedy this, I&amp;#8217;ve thrown together some quick-tips to steer all you beginners in the right direction.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/02/drupal-101-10-tips-drupal-beginners" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/PD_jhqn-WIo" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/02/drupal-101-10-tips-drupal-beginners#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal-101">drupal 101</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-planet">drupal-planet</category>
 <category domain="http://www.chrisfree.me/category/categories/quick-tips">quick tips</category>
 <pubDate>Sun, 21 Feb 2010 20:33:18 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">16 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/02/drupal-101-10-tips-drupal-beginners</feedburner:origLink></item>
<item>
 <title>Create a Drupal Photo Gallery Using Flickr, CCK &amp; Views</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/u1qnO_FA0sA/create-drupal-photo-gallery-using-flickr-cck-views</link>
 <description>&lt;div class="alert"&gt;&lt;span class="caps"&gt;STOP&lt;/span&gt;! This tutorial is outdated.  An updated tutorial has been posted &lt;a href="/2010/12/create-drupal-photo-gallery-using-flickr-cck-views-take-two"&gt;here.&lt;/a&gt;&lt;br /&gt;
Save yourself the confusion and head over there!&lt;/div&gt;
&lt;p&gt;There&amp;#8217;s an almost infinite number of ways to create a photo gallery with Drupal.  I&amp;#8217;ve tried many different approaches but never really been all that happy with the results.  I&amp;#8217;ve finally found a solution worth sharing/repeating. Here&amp;#8217;s &lt;a href="http://www.chrisfree.me/photos"&gt;what we&amp;#8217;ll be creating&lt;/a&gt; using Views, &lt;span class="caps"&gt;CCK&lt;/span&gt; and the Flickr module. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/02/create-drupal-photo-gallery-using-flickr-cck-views" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/u1qnO_FA0sA" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/02/create-drupal-photo-gallery-using-flickr-cck-views#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal">drupal</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-6">drupal 6</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-planet">drupal-planet</category>
 <category domain="http://www.chrisfree.me/category/categories/modules">modules</category>
 <category domain="http://www.chrisfree.me/category/categories/tutorials">tutorials</category>
 <enclosure url="http://www.chrisfree.me/sites/default/files/photo_gallery_view.txt" length="3643" type="text/plain" />
 <pubDate>Tue, 02 Feb 2010 03:30:50 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">10 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/02/create-drupal-photo-gallery-using-flickr-cck-views</feedburner:origLink></item>
<item>
 <title>Drupal 101: How to Add Custom jQuery</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/7hxi8MjIETI/drupal-101-how-add-custom-jquery</link>
 <description>&lt;p&gt;Full disclaimer here:  I love jQuery &amp;#8211; I use it all the time.  jQuery has made my life as a designer/developer so much better.  I use is it on all of my sites &amp;#8211; which means I use it within Drupal.  When I first got started developing sites with Drupal a few years ago, I remember thinking, &amp;#8220;How the hell do I add my own JavaScript?!&amp;#8221;.  Needless to say, I&amp;#8217;ve learned a lot since then.&lt;/p&gt;
&lt;p&gt;There are a number of different ways to include jQuery plugins or one-off scripts into your sites/pages.  Here&amp;#8217;s an overview of some of the ways to do it.  The solution you use will likely depend on your workflow or comfort working within the Drupal theme system.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/01/drupal-101-how-add-custom-jquery" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/7hxi8MjIETI" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/01/drupal-101-how-add-custom-jquery#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/drupal-101">drupal 101</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-planet">drupal-planet</category>
 <category domain="http://www.chrisfree.me/category/categories/jquery">jQuery</category>
 <category domain="http://www.chrisfree.me/category/categories/themes">themes</category>
 <category domain="http://www.chrisfree.me/category/categories/tutorials">tutorials</category>
 <pubDate>Thu, 28 Jan 2010 00:56:22 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">4 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/01/drupal-101-how-add-custom-jquery</feedburner:origLink></item>
<item>
 <title>Override the Drupal Contact Form</title>
 <link>http://feedproxy.google.com/~r/chrisfree/~3/vKkz_47E7Q8/override-drupal-contact-form</link>
 <description>&lt;p&gt;Last week a client of ours at &lt;a href="http://www.chromaticsites.com"&gt;&lt;span class="caps"&gt;CHROMATIC&lt;/span&gt;&lt;/a&gt; requested an addition to the default contact form that ships with Drupal.  Essentially, they just wanted to add a required &amp;#8220;Phone Number&amp;#8221; text field to the form.  Additionally, they wanted this value to be sent along with the email that the contact module sends.  One solution would have been to ditch the contact.module and just whip up a new page using the &lt;a href="http://www.drupal.org/project/webform"&gt;WebForm&lt;/a&gt; module.  The other solution is to override both the form/email using the following hooks respectively in our own module:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://api.drupal.org/api/function/hook_form_alter/6"&gt;hook_form_alter()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://api.drupal.org/api/function/hook_mail_alter/6"&gt;hook_mail_alter()&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.chrisfree.me/2010/01/override-drupal-contact-form" target="_blank"&gt;read more&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/chrisfree/~4/vKkz_47E7Q8" height="1" width="1"/&gt;</description>
 <comments>http://www.chrisfree.me/2010/01/override-drupal-contact-form#comments</comments>
 <category domain="http://www.chrisfree.me/category/categories/customization">customization</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal">drupal</category>
 <category domain="http://www.chrisfree.me/category/categories/drupal-planet">drupal-planet</category>
 <category domain="http://www.chrisfree.me/category/categories/forms">forms</category>
 <category domain="http://www.chrisfree.me/category/categories/tutorials">tutorials</category>
 <enclosure url="http://www.chrisfree.me/sites/default/files/form_overrides.zip" length="2084" type="application/zip" />
 <pubDate>Mon, 25 Jan 2010 19:31:45 +0000</pubDate>
 <dc:creator>chris</dc:creator>
 <guid isPermaLink="false">3 at http://www.chrisfree.me</guid>
<feedburner:origLink>http://www.chrisfree.me/2010/01/override-drupal-contact-form</feedburner:origLink></item>
</channel>
</rss>

