Category Archives: Code
Getting Your Add-ons ready for PyroCMS 2
One of the nice things about an open source CMS project is it moves really fast and it isn’t afraid to make big changes. Such is the case with PyroCMS, and the upcoming 2.0 release is a case in point. With PyroCMS 2, we get a whole new back end interface and some more back end tools for developing great add-ons.
So, if you happen to develop add-ons for PyroCMS, you’ll need to do a little bit of work to make sure your shit don’t break. Here are some tips to get your stuff working on PyroCMS 2 in no time.
Thoughts on CICON2011

CICON2011 was last weekend in NYC, and I had a lot of fun. In March, I told Phil Sturgeon I’d love to help out if he needed it, and I ended up getting to be part of the three man crew (me, Phil, and Kenny Katzgrau) who put together the event.
It was the first of it’s kind in the US, and I believe a hugely significant point for the CodeIgniter community as a whole, so I thought I’d get down my thoughts on the whole affair. Here we go!
Continue reading
Dynamic Pages with PyroCMS and PyroStreams
There has been a lot of questions on the PyroStreams forum about one subject in particular – showing dynamic info on its own page – so what follows is a guide on how to do that. Once the new Addict site is up (which has a blog), I’ll cross-post this over there.
One note – I am using PyroStreams 2 beta syntax here with the {entries} tag inside of the cycle plugin. If you are using PyroStreams 1, please adjust accordingly. If you are using 2 beta, please update to the latest version (uploaded today at 6pm EST), as it contains fixes to the single function.
Alright, let’s get started!
Continue reading
ExpressionEngine CP Menu Manipulation with cp_menu_array
A few days ago Rob Sanchez tweeted a screenshot that caught my eye – a hook called cp_menu_array that is hanging out in expressionengine/libraries/Menu.php like it’s nothing special. It was added in EE 2.1.5.
Good thing Rob caught that because I can’t find any mention of it in the change log or the docs, and this thing is awesome. Why? We finally have direct control over the EE CP menu system.
Introducing Fizl: Sites in Your Filesystem
I don’t like having to set up a huge CMS for a really small site that only I am going to update and edit, so when I saw Rick Ellis’ FileDriver demo, I thought a filesystem-based CMS was a great idea. It wasn’t available to use though, so I tried my hand at creating my own.
CICON 2011
A short time ago I somehow found myself helping out with the organizing of CICON 2011 in New York City this August (CodeIgniter Con, for those not in the know).
Aside from some little things here and there for the website and getting to talk to the awesome people at Ellislab, I volunteered to make a video to promote CICON with interviews from other CI developers and CI community members. Check it out below:
FuelPHP for CodeIgniter Developers

I started using CodeIgniter in January 2008, and it was a huge milestone in my development education. It showed me new ways to build, and I’d never be making the things I am today if it wasn’t for CI. I still love it and I still use it – it is getting better every day via Reactor, and it has a bright future.
That being said, PHP has changed a lot since CodeIgniter’s core was developed. A few months ago, some stuff happened and Dan Horrigan decided to create FuelPHP – a framework loosely in the tradition of CodeIgniter, but built to take advantage of the bells and whistles of PHP 5.3+.
I decided to really delve into FuelPHP over the weekend and found a lot of things that I really love and a lot of things that were really different in both syntax and method to what was done with CodeIgniter. So, coming from a tried and true CI guy, here are some observations of what to look out for when using FuelPHP.
Note: This isn’t meant to win people over to FuelPHP or espouse the virtues of switching, but it is meant as an overview of some major changes in thinking/structure for CI developers looking to use FuelPHP.
Continue reading
CodeIgniter Head Library
I’ve always wanted to be one of those guys who seems to have enough time on his hands to write code and release it to the world for other people to use. I’ve also wanted to give something back to the CodeIgniter community for all the great open source code and help I’ve used for almost two years now. Now I can live both dreams! Both sad, sad dreams.
I’m not going to be releasing anything on an Elliot Haughin level yet, but I know that my never ending quest to make stupid repetitive things easier will allow me to create some cool little libraries. Continue reading


