Extending a Magento Controller

We're ajaxing part of the Magento shopping cart so we need to modify/extend some of the cart controller functionality.  Sometimes when modifying controller's you have to worry about updating the routes. For this, we don't need to, we still want all the urls to be used the same way. app/code/local/Ai/Checkout/etc/config.xml: app/code/local/Ai/Checkout/controllers/CartController.php:

Moving Gmail Gadgets to the Right Side

I started using Remember the Milk recently but didn't want the gmail gadget to be so far down on the left hand side of my screen.  There is no built in way to move gadgets to the right hand side with the exception of chat (labels used to do this but was removed in favor of drag in drop back in late 2009). If you don't have anything in the right hand column, enable Right-Side Chat from Gmail Labs.  We are going to add in some custom css to gmail so install either Stylist for Chrome or Stylish for Firefox…

New Digg reverse paywall coming

Interesting: http://about.digg.com/blog/cha-ching Welcome to the future of killing time on the internet, and getting paid for it: Digg is implementing a reverse pay wall! We believe this will greatly enhance the Digg experience. Early reaction from test users has been great. Can Duruk, developer at Digg, sums it up well: "I thought Rebecca Black's 'Friday' video was great now that I got paid to watch it!" Now, I used to be on Digg for at least an hour a day. then v4 came... and it kind of sucks now…

Firefox 4 landing

It will be updating on your current installs tomorrow. To download now: Windows, Mac, and Linux

Jump Higher

Twitter recap of the superbowl halftime show

Ok so, the superbowl halftime was just god awful @tomkaters I just put Prince on the turntable. #MakeMyOwnHalftimeShow @cskilpatrick This halftime show needs more Bieber. #superbowl @CobraCommander Who is this tranny singer butchering Guns at halftime? @iamunscared Fergie is a train wreck, just ruined G n R. @amyasparklethe sound from the halftime show is completely messed up. awful. @garyvee No more pls @tomkaters Enjoy halftime by tom. http://www.youtube.com/watch?v=_bP48M2BEs0 @cskilpatrick They should…

Getting it onto the Kindle

Been loving my Kindle 3 since I upgraded from my sony reader. There are so many options for getting various reading materials onto it. Here are a few of the ones I like the best: Want to get some RSS feeds onto the Kindle? (12 feeds for free) KindleFeeder is the way to go. It also has a bookmarklet for capturing and sending whole pages from your browser.I use this to send articles in Google Reader that I want to read later to my Kindle. I use my starred items to do this. Starred items have their own RSS…

My picks for the 2011 Oscars

Best Supporting Actress Amy Adams, The Fighter Helena Bonham Carter, The King's Speech Melissa Leo, The Fighter Hailee Steinfeld, True Grit Jackie Weaver, The Animal Kingdom This was close between Steinfeld and Leo Best Supporting Actor Christian Bale, The Fighter John Hawkes, Winter's Bone Jeremy Renner, The Town Mark Ruffalo, The Kids Are All Right Geoffrey Rush, The King's Speech As much as I loved the town, not even close_ _ Best Actress Annette Bening, The Kids Are All Right Nicole Kidman, Rabbit Hole…

Breaking them in

Want to trace the call stack in Magento?

Update: This code is also available on Github as a Mageno module This has helped me immensely in situations like "Where is this getting called from??!?" Create a helper like so: That can be called from anywhere: ``PHP Mage::helper('stack/callstack')->toFirePhp(); Mage::helper('stack/callstack')->toLog(); .../app/code/community/Timbroder/Stack/Helper/Callstack.php line 16 calls get_callstack() .../app/design/frontend/mongoose/default/template/catalog/cms/bikes_bmx.phtml line 12 calls toLog() .../app/design…