<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://www.alexweber.com.br/en/feed/planet-drupal" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Alex Weber</title>
    <link>http://www.alexweber.com.br/en/feed/planet-drupal</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Image sharing the Drupal way with Imgly</title>
    <link>http://www.alexweber.com.br/en/articles/image-sharing-drupal-way-imgly</link>
    <description>&lt;p&gt;&lt;strong&gt;Imgly&lt;/strong&gt; is a Drupal 7 module for sharing images.&lt;/p&gt;

&lt;p&gt;It allows you to upload images and display them in a nice custom template. It can also automatically generate short URLs for the image (based on &lt;a href=&quot;http://drupal.org/project/shurly&quot; target=&quot;_blank&quot;&gt;ShURLy&lt;/a&gt;) and can also optionally track image view and download statistics using AJAX.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/articles/image-sharing-drupal-way-imgly&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/imgly">imgly</category>
 <category domain="http://www.alexweber.com.br/en/tags/module">module</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <pubDate>Mon, 26 Mar 2012 04:57:29 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">144 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>Introducing the iToggle module</title>
    <link>http://www.alexweber.com.br/en/articles/introducing-itoggle-module</link>
    <description>&lt;p&gt;If you&#039;ve never heard of the iToggle jQuery Plugin, it basically transforms checkboxes and radio buttons into slick iOS-style On/Off sliders. It is pretty awesome! Check out the &lt;a href=&quot;http://labs.engageinteractive.co.uk/itoggle/&quot; target=&quot;_blank&quot; rel=&quot;follow&quot;&gt;plugin page&lt;/a&gt; to see it in action.&lt;/p&gt;

&lt;p&gt;What started as a learning excercise to learn how to build custom Views Handlers ended up giving birth to the iToggle module.&lt;/p&gt;

&lt;h3&gt;The Module&lt;/h3&gt;

&lt;p&gt;The module creates 4 custom Views Handlers:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/articles/introducing-itoggle-module&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/itoggle">itoggle</category>
 <category domain="http://www.alexweber.com.br/en/tags/module">module</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/views">views</category>
 <pubDate>Mon, 09 Jan 2012 07:03:20 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">143 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>Conditional fields in Drupal 7 with #states</title>
    <link>http://www.alexweber.com.br/en/tutorials/conditional-fields-drupal-7-states</link>
    <description>&lt;p&gt;Have you ever had to create a conditional input field?  For example, one field is a checkbox that reads &quot;Do you have children?&quot; and if the user selects &quot;Yes&quot;, we want to show an additional input field that asks &quot;How many?&quot; (and if the user selects &quot;No&quot; the field disappears).&lt;/p&gt;

&lt;p&gt;I ran into this in a recent project and, as usual, added some custom javascript using #after_build that did exactly that. I&#039;m pretty sure this is a widespread practice.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/tutorials/conditional-fields-drupal-7-states&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/drupal7">drupal7</category>
 <category domain="http://www.alexweber.com.br/en/tags/form-api">form api</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <pubDate>Thu, 05 Jan 2012 21:42:04 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">142 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>drupal_read_record()</title>
    <link>http://www.alexweber.com.br/en/articles/drupal-read-record</link>
    <description>&lt;p&gt;Today I was teaching our Junior Developer at Webdrop all about schemas and drupal_write_record() and he asked me a pretty decent question:&lt;/p&gt;

&lt;strong&gt;What&#039;s the complementary function to drupal_write_record?&lt;/strong&gt;

&lt;p&gt;By that he meant the function that retrieves a record, given a schema and a primary key.&lt;/p&gt;

&lt;p&gt;I gave it some thought and quickly realized that there is no such function! Maybe I&#039;m just being a stickler but not having this function just seems silly.&lt;/p&gt;

&lt;p&gt;So I decided to go ahead and write it:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/articles/drupal-read-record&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/sql">sql</category>
 <pubDate>Fri, 30 Sep 2011 23:01:16 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">138 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>jQuery 1.5.2 with Drupal 6</title>
    <link>http://www.alexweber.com.br/en/tutorials/jquery-152-drupal-6</link>
    <description>&lt;p&gt;That&#039;s right! All you Drupalers out there know how frustrating it can be to use jQuery 1.3.2 with Drupal 6 and the lack of an &quot;official&quot; contrib solution out there to fix this only makes matters worse.&lt;/p&gt;

&lt;p&gt;I&#039;ve tried a couple methods in the past but have had no luck. However, I finally came across an (apparently) 100% working method to use jQuery 1.5.2 and jQuery UI 1.8.11 Drupal 6!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The solution&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/tutorials/jquery-152-drupal-6&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/jquery">jquery</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <pubDate>Sun, 17 Apr 2011 16:03:50 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">125 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>How to install PHP 5.2 on Ubuntu 10.10 (Maverick) and 11.04 (Natty)</title>
    <link>http://www.alexweber.com.br/en/tutorials/how-install-php-52-ubuntu-1010-maverick-and-1104-natty</link>
    <description>&lt;p&gt;I finally got around to upgrading my trusty old Karmic Koala install to the not-so-spanking-new 10.10 (Maverick Meerkat). So far so good and it looks great but the fact that it ships with PHP 5.3 made me kind of anxious to do Drupal development.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Update:&lt;/strong&gt; This technique also works 100% for Ubuntu 11.04 (Natty)!&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/tutorials/how-install-php-52-ubuntu-1010-maverick-and-1104-natty&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/php">php</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/ubuntu">ubuntu</category>
 <pubDate>Mon, 28 Mar 2011 03:00:00 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">127 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>Installing Drupal from the command line with Drush</title>
    <link>http://www.alexweber.com.br/en/tutorials/installing-drupal-command-line-drush</link>
    <description>&lt;p&gt;If you work with &lt;a href=&quot;http://drupal.org&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;Drupal&quot;&gt;Drupal&lt;/a&gt; you&#039;ve probably heard of &lt;a href=&quot;http://drupal.org/project/drush&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;Drush&quot;&gt;Drush&lt;/a&gt;. In case you haven&#039;t, you really should! Let&#039;s dive in!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to install Drupal from the terminal&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;First, download Drupal using wget:
&lt;pre&gt;
&lt;div class=&quot;geshifilter&quot;&gt;&lt;table class=&quot;bash geshifilter-bash&quot;&gt;&lt;tbody&gt;&lt;tr class=&quot;li1&quot;&gt;&lt;td class=&quot;ln&quot;&gt;&lt;pre class=&quot;de1&quot;&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;de1&quot;&gt;&lt;pre class=&quot;de1&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;ftp.drupal.org&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;files&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;projects&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;drupal-&lt;span class=&quot;nu0&quot;&gt;6.20&lt;/span&gt;.tar.gz&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/tutorials/installing-drupal-command-line-drush&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/bash">bash</category>
 <category domain="http://www.alexweber.com.br/en/tags/dica">dica</category>
 <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/drush">drush</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <pubDate>Wed, 23 Mar 2011 10:06:07 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">115 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>Introducing Zentropy a Drupal 7 HTML5 Base Theme</title>
    <link>http://www.alexweber.com.br/en/code/drupal/introducing-zentropy-drupal-7-html5-base-theme</link>
    <description>&lt;p&gt;After a couple long hours of work, I&#039;m proud to finally present: &lt;a href=&quot;http://drupal.org/project/zentropy&quot; rel=&quot;nofollow&quot; target=&quot;blank&quot;&gt;Zentropy&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;Zentropy is a flexible HTML5 base theme for Drupal 7 that separates itself from the rest with the following features:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/code/drupal/introducing-zentropy-drupal-7-html5-base-theme&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/html5">html5</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/theme">theme</category>
 <pubDate>Mon, 17 Jan 2011 19:23:39 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">102 at http://www.alexweber.com.br</guid>
  </item>
  <item>
    <title>How to change your module&#039;s execution order in Drupal 6</title>
    <link>http://www.alexweber.com.br/en/tutorials/how-change-your-modules-execution-order-drupal-6</link>
    <description>&lt;p&gt;Today I ran into a problem that had be baffled for a while:&lt;/p&gt;

&lt;p&gt;I was working on a custom module in Drupal that would programatically add a short URL whenver a node is created or updated.&lt;br/&gt;No biggy right? Just use  &lt;a href=&quot;http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_nodeapi/6&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;hook_nodeapi&quot;&gt;hook_nodeapi&lt;/a&gt; and do whatever you want on the &lt;em&gt;presave&lt;/em&gt; operation.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.alexweber.com.br/en/tutorials/how-change-your-modules-execution-order-drupal-6&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
     <category domain="http://www.alexweber.com.br/en/tags/drupal">drupal</category>
 <category domain="http://www.alexweber.com.br/en/tags/drupal6">drupal6</category>
 <category domain="http://www.alexweber.com.br/en/tags/hook">hook</category>
 <category domain="http://www.alexweber.com.br/en/tags/nodeapi">nodeapi</category>
 <category domain="http://www.alexweber.com.br/en/tags/planet-drupal">planet drupal</category>
 <pubDate>Wed, 08 Dec 2010 10:00:00 +0000</pubDate>
 <dc:creator>alex</dc:creator>
 <guid isPermaLink="false">128 at http://www.alexweber.com.br</guid>
  </item>
  </channel>
</rss>

