The Coding Pad

Programming blog – Discussions, Tutorials, Resources

The Coding Pad header image 1

Interview with Ryan Cramer – ProcessWire CMS Founder and Lead Developer

July 19th, 2013 · Interviews/People, ProcessWire · 5 Comments

In this interview I talk to Ryan Cramer, founder and lead developer of the ProcessWire project.  Ryan has been kind enough to share with us some insights into who he is and into the ProcessWire project – what it is, where it came from, what’s cool about it, and where it’s going.  Whether you’re an avid ProcessWire fan or have never heard of it, I hope you find this post interesting, useful, and informative. [Read more →]

→ 5 CommentsTags:

Quick Tip: MODX – Modify the date format for the TwitterX output

July 7th, 2013 · MODX, Tutorials · 1 Comment

While working on a MODX client project I used the TwitterX snippet, which uses the new Twitter 1.1 API, to pull in the clients twitter feed to her site. The snippet comes with a default tpl chunk which you should duplicate and modify for your purposes as I have done below to format the tweet feed as you please.

[

→ 1 CommentTags: ··

An Unexpected Conversation with a Hacker

September 8th, 2012 · Interviews/People, MODX · 28 Comments

Before I proceed, I want to state that I don’t know Verite’s gender, I didn’t ask. So my references to “he” and “him” are purely an assumption on my part.  What I do know as facts is that Verite identifies himself as a hacker and reports that he is a teenager.

Yesterday afternoon (Kiwi time), a user with the twitter handle @V3R1T3 sent me a tweet and asked me to pass on a message to the MODX team because they had “blocked” him. Initially, I wasn’t sure that I wanted to engage in conversation with Verite given that he had publicly admitted to defacing the website and had posted a pastebin with some MODX users account information on the web. However, given these facts, the fact that I run MODX on several sites and have an account at, and my own innate curiosity, I decided to respond, ask a few questions, and see what I could find out. The resulting conversation was quite interesting and I asked Verite if I could post the chat verbatim on this blog for anyone who might be interested. We chatted for a while on twitter and then moved the conversation to Skype.

To give this conversation some context, I will post a bit of background on the events that led up to it. [Read more →]

→ 28 CommentsTags: ···

Setting the Time Zone for PHP 5.3.0+

March 19th, 2012 · PHP, Tutorials · 12 Comments

While working with PHP 5.3 scripts, you may have run into an error that tells you you need to set the time zone for PHP 5.3.0.  This might happen when upgrading or installing a CMS or other script in your hosted or local web environment. A comment error message I’ve run across several times when working with MODX, SilverStripe, Processwire, etc. is:

date.timezone option in php.ini must be set in PHP 5.3.0+

Another common error message is:

To use PHP 5.3.0+, you must set the date.timezone setting in your

In this brief post I’ll describe a couple of different ways to deal with this.

[

→ 12 CommentsTags:

How to Create Multiple Virtual Hosts in Ubuntu

March 14th, 2012 · Linux, Tutorials · 19 Comments

ubuntu-virtual-hostsI’ve recently been doing a lot of my dev work and coding on Ubuntu 11.10 installed on a Lenovo Thinkpad T500, and learning the ins and outs of working from the terminal and all that.  I have several sites that I’m working on in my local ubuntu lamp set up.

In this post, I’m going to describe the steps to create multiple virtual hosts on my local ubuntu set up for the various sites that I’m working on.

[

→ 19 CommentsTags: ··