<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://pedroposada.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Pedro Posada&#039;s Blog</title>
 <link>http://pedroposada.com/category/blog/drupal-recipe</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>How to reset my Drupal admin password?</title>
 <link>http://pedroposada.com/blog/how-reset-my-drupal-admin-password.html</link>
 <description>&lt;p&gt;This is the best php tip I have found for reseting drupal administrator&#039;s password.&lt;br /&gt;
&lt;br /&gt;
You will need access to phpMyAdmin or some way to manage your database. Run this  query&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;update users set pass=md5(&amp;#039;NEWPASS&amp;#039;) where uid = 1;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
I found the info here:&lt;br /&gt;
&lt;a href=&quot;http://kb.siteground.com/article/How_to_reset_my_Drupal_admin_password.html&quot; title=&quot;http://kb.siteground.com/article/How_to_reset_my_Drupal_admin_password.html&quot;&gt;http://kb.siteground.com/article/How_to_reset_my_Drupal_admin_password.html&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://pedroposada.com/blog/how-reset-my-drupal-admin-password.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/mysqlsnippets">mysql snippets</category>
 <pubDate>Wed, 09 Dec 2009 12:17:59 -0500</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">386 at http://pedroposada.com</guid>
</item>
<item>
 <title>Upload large image files to drupal</title>
 <link>http://pedroposada.com/blog/upload-large-image-files-drupal.html</link>
 <description>&lt;p&gt;I am building a website for a photographer. I want the photographer to be able to do bulk or mass image uploads. Usually the images are very big files around 3MB to 5Mb each. I figured the best way to do this was by using image and image_pub modules. This way the photographer can use the Gallery Remote Java Client to create galleries and preview bulk uploads.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/upload-large-image-files-drupal.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/upload-large-image-files-drupal.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/internalservererror500">internal server error 500</category>
 <pubDate>Fri, 07 Aug 2009 14:48:05 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">383 at http://pedroposada.com</guid>
</item>
<item>
 <title>Create list of links to taxonomy terms</title>
 <link>http://pedroposada.com/blog/create-list-links-taxonomy-terms.html</link>
 <description>&lt;p&gt;This piece of code is to generate a menu or list of links to taxonomy pages. I used it inside a block. I created a view that shows all items under certain taxonomy term.&lt;/p&gt;
&lt;p&gt;It is basically a taxonomy menu but you can customized an place it anywhere.&lt;/p&gt;
&lt;p&gt;Good link to learn more about embedding your own views: &lt;a href=&quot;http://groups.drupal.org/node/10129&quot; title=&quot;http://groups.drupal.org/node/10129&quot;&gt;http://groups.drupal.org/node/10129&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/create-list-links-taxonomy-terms.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/create-list-links-taxonomy-terms.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-6">drupal 6</category>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/phpsnippet">php snippet</category>
 <pubDate>Sat, 07 Mar 2009 19:43:40 -0500</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">54 at http://pedroposada.com</guid>
</item>
<item>
 <title>How to make stylesheet refresh automatically</title>
 <link>http://pedroposada.com/blog/how-make-stylesheet-refresh-automatically.html</link>
 <description>&lt;p&gt;When I build a site, I always make changes to the style.css file. I always add, modify or remove styles, but there was a problem. When someone came to see my site they would see an old version of the site because their browser would cache the style.css file. In order to avoid this, I came up with this drupal recipe or theme snippet.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/how-make-stylesheet-refresh-automatically.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/how-make-stylesheet-refresh-automatically.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/themesnippet">theme snippet</category>
 <pubDate>Mon, 13 Oct 2008 18:06:09 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">44 at http://pedroposada.com</guid>
</item>
<item>
 <title>PREV NEXT links for nodes in circular way</title>
 <link>http://pedroposada.com/blog/prev-next-links-nodes-circular-way.html</link>
 <description>&lt;p&gt;This is just a sample of how you can add PREV NEXT links to your node type template. This function generates links to navigate your nodes in alphabetical order ASC.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/prev-next-links-nodes-circular-way.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/prev-next-links-nodes-circular-way.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/prevnextlinks">prev next links</category>
 <category domain="http://pedroposada.com/category/blog/themesnippet">theme snippet</category>
 <pubDate>Wed, 08 Oct 2008 17:15:29 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">43 at http://pedroposada.com</guid>
</item>
<item>
 <title>How to create a custom search box</title>
 <link>http://pedroposada.com/blog/how-create-custom-search-box.html</link>
 <description>&lt;p&gt;This is an example on how you can create a custom search box for your drupal site. The code below renders a text box and a button. When you perform a search, drupal will only look for the keyword inside the node types specified below (page, recipe, product, blog_article).  You can just copy and paste this code into a block.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/how-create-custom-search-box.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/how-create-custom-search-box.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/searchbox">search box</category>
 <pubDate>Thu, 02 Oct 2008 18:37:28 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">42 at http://pedroposada.com</guid>
</item>
<item>
 <title>Collapsible fieldsets</title>
 <link>http://pedroposada.com/blog/collapsible-fieldsets.html</link>
 <description>&lt;p&gt;Code snippet to build collapsible fieldset like this one:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/collapsible-fieldsets.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/collapsible-fieldsets.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/layoutsnippet">layout snippet</category>
 <pubDate>Mon, 26 May 2008 19:16:57 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">37 at http://pedroposada.com</guid>
</item>
<item>
 <title>Block visibility php snippets</title>
 <link>http://pedroposada.com/blog/block-visibility-php-snippets.html</link>
 <description>&lt;p&gt;Display a block on certain pages by url and by node type.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/block-visibility-php-snippets.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/block-visibility-php-snippets.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/block-visibility">block visibility</category>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/phpscripts">php scripts</category>
 <pubDate>Mon, 26 May 2008 13:19:57 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">36 at http://pedroposada.com</guid>
</item>
<item>
 <title>How to remove the &quot;My account&quot; link</title>
 <link>http://pedroposada.com/blog/how-remove-my-account-link.html</link>
 <description>&lt;p&gt;This php snippet is useful for customizing the behavior of the &amp;quot;My account&amp;quot; link. Sometimes you want to place a login link in one of the menus. It might be confusing sometimes because after you login, the link won&#039;t show as &amp;quot;Logout&amp;quot; but as &amp;quot;My account&amp;quot;. This is not ideal so you can use the snippet to make it show as &amp;quot;Logout&amp;quot;.  Place this code inside your template.php file.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/how-remove-my-account-link.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/how-remove-my-account-link.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <pubDate>Thu, 15 May 2008 19:22:00 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">35 at http://pedroposada.com</guid>
</item>
<item>
 <title>Webform form insert</title>
 <link>http://pedroposada.com/blog/webform-form-insert.html</link>
 <description>&lt;p&gt;Php snippet to insert a webform in any node.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/webform-form-insert.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/webform-form-insert.html#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupal-recipe">drupal recipe</category>
 <pubDate>Thu, 24 Apr 2008 19:40:45 -0400</pubDate>
 <dc:creator>pedro</dc:creator>
 <guid isPermaLink="false">31 at http://pedroposada.com</guid>
</item>
</channel>
</rss>
