jdbartlett


Member since 05/22/2008

6 snippets

1428 profile views

1 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

jdbartlett's Recent PHP Snippets



« Prev 1 Next »
This code allows you to track each step of Magento's One Page Checkout in Google Analytics. I installed it at the bottom of my `checkout/onepage.phtml` template file. Once installed, you can set up a funnel for the following: * `/checkout/onepage/...
0 597 posted 14 years ago by jdbartlett
Some valid UTF-8 characters are illegal in XML: http://www.w3.org/TR/REC-xml/#charsets This statement strips them from your strings.
0 1952 posted 14 years ago by jdbartlett
[Google's "AJAX Libraries API"](http://code.google.com/apis/ajaxlibs/) is great and all, but can slow things down if you're doing a lot of refreshing/cache clearing while debugging. Here's a neat trick: stuff something like this in the `<head>` of yo...
1 673 posted 14 years ago by jdbartlett
This code within your CakePHP Controller to include a Model.
0 526 posted 14 years ago by jdbartlett
This code within your CakePHP controller to include a component.
0 492 posted 15 years ago by jdbartlett
« Prev 1 Next »