<?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>drupal recipe</title>
 <link>http://pedroposada.com/category/blog/drupalrecipe</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>How to make stylesheet refresh automatically</title>
 <link>http://pedroposada.com/blog/how-make-stylesheet-refresh-automatically</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&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/how-make-stylesheet-refresh-automatically#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">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>admin</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</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&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/prev-next-links-nodes-circular-way#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">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>admin</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</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).&lt;/p&gt;
&lt;p&gt;You can just copy and paste this code into a block.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/how-create-custom-search-box&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/how-create-custom-search-box#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">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>admin</dc:creator>
 <guid isPermaLink="false">42 at http://pedroposada.com</guid>
</item>
<item>
 <title>Collapsible fieldsets</title>
 <link>http://pedroposada.com/blog/collapsible-fieldsets</link>
 <description>Code snippet to build collapsible fieldset like this one:&lt;br /&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/collapsible-fieldsets&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/collapsible-fieldsets#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">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>admin</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</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&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/block-visibility-php-snippets#comments</comments>
 <category domain="http://pedroposada.com/category/blog/blockvisibility">block visibility</category>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">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>admin</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-quotmy-accountquot-link</link>
 <description>&lt;p&gt;This php snippet is useful for customizing the behavior of the &quot;My account&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 &quot;Logout&quot; but as &quot;My account&quot;. This is not ideal so you can use the snippet to make it show as &quot;Logout&quot;.&lt;/p&gt;
&lt;p&gt;Place this code inside your template.php file.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/how-remove-quotmy-accountquot-link&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/how-remove-quotmy-accountquot-link#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">drupal recipe</category>
 <pubDate>Thu, 15 May 2008 19:22:00 -0400</pubDate>
 <dc:creator>admin</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</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&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/webform-form-insert#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">drupal recipe</category>
 <pubDate>Thu, 24 Apr 2008 19:40:45 -0400</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">31 at http://pedroposada.com</guid>
</item>
<item>
 <title>.htaccess drupal redirection</title>
 <link>http://pedroposada.com/blog/htaccess-drupal-redirection</link>
 <description>&lt;p&gt;.htaccess code snippet to have any url to redirect to another url. You would insert this in your .htaccess file. This is very useful when you are migrating a static html site into a Drupal site.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/htaccess-drupal-redirection&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/htaccess-drupal-redirection#comments</comments>
 <category domain="http://pedroposada.com/category/blog/htaccess">.htaccess</category>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">drupal recipe</category>
 <pubDate>Tue, 22 Apr 2008 15:02:10 -0400</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">30 at http://pedroposada.com</guid>
</item>
<item>
 <title>Generate a CSV file</title>
 <link>http://pedroposada.com/blog/generate-csv-file</link>
 <description>&lt;p&gt;Snippet to generate a CSV (comma separated values) file from any table or combination of tables from the data base.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/generate-csv-file&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/generate-csv-file#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/phpscripts">php scripts</category>
 <pubDate>Thu, 17 Apr 2008 03:14:30 -0400</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">28 at http://pedroposada.com</guid>
</item>
<item>
 <title>Access content denied for anonymous user</title>
 <link>http://pedroposada.com/blog/access-content-denied-anonymous-user</link>
 <description>&lt;p&gt;I have come across this issue many times now. It started to appear in Drupal 5.x . The reason is not completely clear to me but some say that it has something to do with the tac_lite module. It seems that when you enable this module and then you disable it, it won&#039;t properly restore the node_access table in the database. It won&#039;t create the default node_access row. To fix it, just run the following query:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://pedroposada.com/blog/access-content-denied-anonymous-user&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://pedroposada.com/blog/access-content-denied-anonymous-user#comments</comments>
 <category domain="http://pedroposada.com/category/blog/drupalrecipe">drupal recipe</category>
 <category domain="http://pedroposada.com/category/blog/links">interesting links</category>
 <pubDate>Wed, 16 Apr 2008 14:40:08 -0400</pubDate>
 <dc:creator>admin</dc:creator>
 <guid isPermaLink="false">27 at http://pedroposada.com</guid>
</item>
</channel>
</rss>
