<?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 21:59:29 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) 10 Digit String to Phone Format - cpres</title>
      <link>https://snipplr.com/view/65672/10-digit-string-to-phone-format</link>
      <description>&lt;p&gt;Formats a 10-digit phone number into a good format (123) 555-1234&lt;/p&gt;</description>
      <pubDate>Sun, 17 Jun 2012 06:54:16 UTC</pubDate>
      <guid>https://snipplr.com/view/65672/10-digit-string-to-phone-format</guid>
    </item>
    <item>
      <title>(PHP) Get HTML from Magento CMS Block - cpres</title>
      <link>https://snipplr.com/view/65633/get-html-from-magento-cms-block</link>
      <description>&lt;p&gt;Adding HTML into custom blocks rather than hard coding makes it so people don't bother us devs to change sheite!&lt;/p&gt;</description>
      <pubDate>Fri, 15 Jun 2012 04:37:54 UTC</pubDate>
      <guid>https://snipplr.com/view/65633/get-html-from-magento-cms-block</guid>
    </item>
    <item>
      <title>(jQuery) Magento Customer Saving Blocked by Phone # - cpres</title>
      <link>https://snipplr.com/view/65394/magento-customer-saving-blocked-by-phone-</link>
      <description>&lt;p&gt;Annoyed by Please enter a valid phone number. For example (123) 456-7890 or 123-456-7890. in admin? Here's the trick.&#13;
Copy over your default/default/template/customer/tab/addresses.phtml to your default/your-template/template/customer/tab/address.phtml&lt;/p&gt;</description>
      <pubDate>Tue, 05 Jun 2012 04:05:07 UTC</pubDate>
      <guid>https://snipplr.com/view/65394/magento-customer-saving-blocked-by-phone-</guid>
    </item>
    <item>
      <title>(PHP) Magento Var Dump - cpres</title>
      <link>https://snipplr.com/view/65030/magento-var-dump</link>
      <description>&lt;p&gt;Debugging a quote in magento, get all it's data.&lt;/p&gt;</description>
      <pubDate>Wed, 23 May 2012 03:45:03 UTC</pubDate>
      <guid>https://snipplr.com/view/65030/magento-var-dump</guid>
    </item>
    <item>
      <title>(Other) JDK7 Netbeans7 Windows 7 - cpres</title>
      <link>https://snipplr.com/view/62805/jdk7-netbeans7-windows-7</link>
      <description>&lt;p&gt;run this as administrator from cmd.exe&lt;/p&gt;</description>
      <pubDate>Fri, 27 Jan 2012 13:08:52 UTC</pubDate>
      <guid>https://snipplr.com/view/62805/jdk7-netbeans7-windows-7</guid>
    </item>
    <item>
      <title>(jQuery) Wordpress: S2 Member Plugin: Tiered Donation Support - cpres</title>
      <link>https://snipplr.com/view/59972/wordpress-s2-member-plugin-tiered-donation-support</link>
      <description>&lt;p&gt;If you are using the Wordpress plugin S2 Member and want to accept donations at various levels. First create the form with a class of donation and 3 different dropdowns, then change the values of the hidden inputs using jQuery (which is this script)&lt;/p&gt;</description>
      <pubDate>Thu, 20 Oct 2011 04:21:20 UTC</pubDate>
      <guid>https://snipplr.com/view/59972/wordpress-s2-member-plugin-tiered-donation-support</guid>
    </item>
    <item>
      <title>(jQuery) Take out decimal for Yen Currency - cpres</title>
      <link>https://snipplr.com/view/59550/take-out-decimal-for-yen-currency</link>
      <description>&lt;p&gt;Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway!&#13;
&#13;
This code looks for the Yen since within a &lt;span&gt;&lt;/span&gt; and if it has the yen which is uFFE5 to a browser, it replace the .00 with nothing.&lt;/p&gt;</description>
      <pubDate>Sat, 08 Oct 2011 05:44:00 UTC</pubDate>
      <guid>https://snipplr.com/view/59550/take-out-decimal-for-yen-currency</guid>
    </item>
    <item>
      <title>(jQuery) PERL &amp; JQuery Product Animation - cpres</title>
      <link>https://snipplr.com/view/58478/perl--jquery-product-animation</link>
      <description>&lt;p&gt;This was for a "Sport Landing Page" where people can select their outfits. There is intial intro box that gets cleared on the first selection. The thumbnails popout on hover. And there is a clear function that takes out all the products selected to just show the background image.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Sep 2011 06:12:09 UTC</pubDate>
      <guid>https://snipplr.com/view/58478/perl--jquery-product-animation</guid>
    </item>
    <item>
      <title>(jQuery) jQuery Popup Setup - cpres</title>
      <link>https://snipplr.com/view/58118/jquery-popup-setup</link>
      <description>&lt;p&gt;Initializing a popup&lt;/p&gt;</description>
      <pubDate>Wed, 24 Aug 2011 09:10:44 UTC</pubDate>
      <guid>https://snipplr.com/view/58118/jquery-popup-setup</guid>
    </item>
    <item>
      <title>(PHP) XML Feed - Monthly Archives of Wordpress Articles - cpres</title>
      <link>https://snipplr.com/view/57539/xml-feed--monthly-archives-of-wordpress-articles</link>
      <description>&lt;p&gt;In case you need to create your own listing of the last # of trailing months of Archived Wordpress Articles. This one is being used to pull the info onto a Magento page.&lt;/p&gt;</description>
      <pubDate>Wed, 03 Aug 2011 02:00:28 UTC</pubDate>
      <guid>https://snipplr.com/view/57539/xml-feed--monthly-archives-of-wordpress-articles</guid>
    </item>
    <item>
      <title>(PHP) Wordpress - Multiple Post Types in Loop - cpres</title>
      <link>https://snipplr.com/view/57496/wordpress--multiple-post-types-in-loop</link>
      <description>&lt;p&gt;add this to functions.php and you won't have to mess with the index page.&lt;/p&gt;</description>
      <pubDate>Tue, 02 Aug 2011 07:21:04 UTC</pubDate>
      <guid>https://snipplr.com/view/57496/wordpress--multiple-post-types-in-loop</guid>
    </item>
  </channel>
</rss>
