I recently needed to do a small scripting job in Ruby, and to use the gems required I needed to be on the latest version of Ruby (2.4.1). My MacBook was on an older version, so I needed to run a quick update. Here is the process I followed:
Category Archives Tutorials
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.
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 php.in.In this brief post I'll describe a couple of different ways to deal with this.
I'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.
Just a quick post to let you all know that the MODX Revolution Beginner Tutorials series has been updated to reflect the changes made in MODX Revolution 2.2. Initially these tutorials were written using Revolution 2.0.x, but MODX has since graduated to 2.2.x. The series is now up to 11 parts and there are still more installments to come, but to keep up to date, it was important to me to ensure that those who are starting the series now are able to relate what they see on their screen with what is represented in these tutorials. So what are the major changes that I've made that would affect someone who has used or is using these tutorials?