Archive for September 2011

2011
20
Sep

Now I’m Confused

I’m working on a Magento module and I got an error message saying “An error occurred while saving the page.” Right under it I gut a success message saying “The page has been saved.”

2011
19
Sep

Custom CodeIgniter Validation Methods

CodeIgniter’s Form Validation library isn’t bad. It takes a little getting use to but it can be very powerful. Most of the validation that comes with CodeIgniter are pretty much the only ones you will ever need. Every now and then you will need something else. Extending CodeIgniter libraries is very easy. These are some … Continue reading

2011
17
Sep

Cross Browser Support for inline-block in CSS

I’ve been using this method for cross browser inline-block displays for a while and thought everyone else knew about it too. One of my co-workers was shocked to find out they had been doing it wrong for so long. So I thought I would share it in case someone else didn’t know about it. Inline-block … Continue reading

2011
16
Sep

Blocks in Magento

One of the things Magento got right is blocks. It’s one of the few things I am continually impressed by. There are a lot of ways to add a static block to the page. XML is probably the most common place to add a static block. You find whatever block you want to add your … Continue reading

2011
15
Sep

To the shores of Tripoli

Before the uprising in Libya, even though it is part of the Marine Corps Hymn, I really doubt most Marines knew were Tripoli was located. ‘To the shores of Tripoli’ in the Marine Corps Hymn stems from the Battle of Derne. It is the first recorded land battle fought overseas by the United States. It … Continue reading