<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 11:00:23 +0000</lastBuildDate>
    <item>
      <title>(PHP) Drupal 6 - Row Count in Views Header - Onfire60</title>
      <link>https://snipplr.com/view/51096/drupal-6--row-count-in-views-header</link>
      <description>&lt;p&gt;Found This Code to make a stats page view for a client. Make Sure your header input format is PHP.&lt;/p&gt;</description>
      <pubDate>Fri, 25 Mar 2011 06:54:26 UTC</pubDate>
      <guid>https://snipplr.com/view/51096/drupal-6--row-count-in-views-header</guid>
    </item>
    <item>
      <title>(PHP) Drupal 6 - Stop views from giving block ids a hash name - Block Preprocess - Onfire60</title>
      <link>https://snipplr.com/view/47462/drupal-6--stop-views-from-giving-block-ids-a-hash-name--block-preprocess</link>
      <description>&lt;p&gt;This code goes directly into your template.php file after you remove the open and close PHP tags at the beginning and end.&#13;
&#13;
Then place the call below in your block.tpl.php. Don't forget to flush cache.&lt;/p&gt;</description>
      <pubDate>Wed, 19 Jan 2011 04:12:11 UTC</pubDate>
      <guid>https://snipplr.com/view/47462/drupal-6--stop-views-from-giving-block-ids-a-hash-name--block-preprocess</guid>
    </item>
    <item>
      <title>(PHP) Drupal 6 - Better Block Ids Function - Onfire60</title>
      <link>https://snipplr.com/view/47460/drupal-6--better-block-ids-function</link>
      <description>&lt;p&gt;Copy the first code snippet to your theme's template.php.&#13;
&#13;
Then call the following section in you block template file.&lt;/p&gt;</description>
      <pubDate>Wed, 19 Jan 2011 03:26:38 UTC</pubDate>
      <guid>https://snipplr.com/view/47460/drupal-6--better-block-ids-function</guid>
    </item>
    <item>
      <title>(PHP) Using drupal_get_destination() in a link item "l()" - Onfire60</title>
      <link>https://snipplr.com/view/45308/using-drupalgetdestination-in-a-link-item-l</link>
      <description>&lt;p&gt;When adding a link to a form say for instance a login form you can use drupal_get_destination() to return the user to the page they were on when they finish loging in. This show you how to do this programatically in a link l(); function.&lt;/p&gt;</description>
      <pubDate>Sun, 05 Dec 2010 18:49:12 UTC</pubDate>
      <guid>https://snipplr.com/view/45308/using-drupalgetdestination-in-a-link-item-l</guid>
    </item>
    <item>
      <title>(PHP) Drupal Remove  Specific Tabs for a specific Content Type - Onfire60</title>
      <link>https://snipplr.com/view/40994/drupal-remove--specific-tabs-for-a-specific-content-type</link>
      <description>&lt;p&gt;Was trying to figure out a way to remove tabs for a content type where it was unnecessary. Place this in your theme template.php file and configure to your needs.&#13;
&#13;
Example Usage: Organic Group View is created and page uses a menu tab. Unfortunately the tab gets added to all other content types. This is used to remove that tab for the other content types that aren't part of your group.&lt;/p&gt;</description>
      <pubDate>Fri, 24 Sep 2010 11:25:10 UTC</pubDate>
      <guid>https://snipplr.com/view/40994/drupal-remove--specific-tabs-for-a-specific-content-type</guid>
    </item>
  </channel>
</rss>
