Archive for the ‘development (web)’ Category

MODx (Evo): Setting up a subnavigation – if there are subpages (children)

Wayfinder is a great tool for MODx to automatically display menus and submenus on your website. By default though, it doesn’t handle not displaying the submenu on a subpage if there are no children, so you end up with the title of the page appearing where the menu should be. So that you can just [...]

Three Key Things To Look For In A Web Developer

With thousands of businesses promoting web design and development services, it can be hard to know what to look for. Other than the obvious method of looking at their previous work and deciding if you like their design style, there are many other important factors you should consider. Here is a short list of three [...]

Using Xampp on Mac for Ruby on Rails

I recently installed Xampp on my mac to help with some other development work, only to find that my previous install of MySQL which I was using for Ruby on Rails development no longer worked. I was receiving errors: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ and No such file [...]

Chmod MODx MaxiGallery fix

MaxiGallery is a customizable image gallery for the PHP application framework/CMS MODx. I have been testing it out locally on a windows based PC running Apache, and came across an error when trying to upload files as per the Picture and Thumbnails walkthrough. « MODx Parse Error » MODx encountered the following error while attempting [...]

Ruby: Displaying current date/time as default in text field

This is pretty basic stuff, but I couldn’t easily find the details on how to do it, so here it is for anyone else who is looking for it. Scenario: I wanted to put the current date and time as the default text for the date field in a form. The code: In the form [...]

Bring on the gravatars

Today I have updated this site with Gravatar so that all you nice folks that leave me comments (you know who you are) can now also include an avatar. Gravatar ( Gloabally Recognized Avatar ) allows you to store an 80 x 80 pixel image on their servers. They even have a nice tool to [...]