Category: Web Design and Development


I took an excellent class on adaptive design at lynda.com in January. I decided to try mobilizing my main business site, which is a WordPress site that was running WPTouch or one of the other instant mobile plugins. I disabled it and got started about a week ago.

After taking the class, it was much easier to see what I needed to take out for the handheld version, but I hit a snag when I was trying to get images in custom post types to resize. This afternoon I finally got that problem fixed and was able to complete the mobile version, then it only took about 30 minutes to get a separate stylesheet for tablets.

I think it looks pretty reasonable considering it was my first attempt at creating an adaptive version of a WordPress theme – if you have a chance please check out Red Kite Creative on a phone or tablet and let me know what you think.

I’d had a hard time finding a current plugin for WordPress that would give my client an easy to manage slideshow with pan/zoom (Ken Burns) effects. I tried all that were listed with varying degrees of success. The slideshow needed a WordPress plugin so it would be dead simple for my client to edit and add more slides.

Monoslideshow optionsHappily, I found a Flash alternative that’s integrated into NextGen Gallery, one of my long-time favorite plugins. Monoslideshow is not free, it comes out to about $37 right now in US funds, but the NextGen Monoslideshow plugin is free and takes about 1 minute to setup. You only need to FTP the .swf file from the downloaded program to your /wp-content/uploads/folder and it’s ready to use.

The Ken Burns effects available are Random, Pan, Zoom and 3D. Random looks great for my client’s needs.

Once Monoslideshow is set up, all you need to do is create a gallery in NextGen like normal, but when you paste the shortcode change it to look like this:

[monoslideshow id=1]

With a $37 investment and a total of 18 minutes I was able to complete this task and it looks great – here’s the finished slideshow, tested in FF, Chrome, Safari/Win, Opera and IE 7-9.

This morning I got an email from a company offering a free whitepaper on choosing ‘the best CMS for your business.’ I signed up and downloaded it – this is the first thing I saw when flipping through it:

“PHP is a general-purpose scripting language for web development. It is also used in some open-source CMS offerings. Because it’s easy to learn, PHP is often used by small companies for simple websites. Medium and large businesses however, are much more likely to choose .NET for its compatibility with Microsoft technology.”

So let’s see… these are some fairly good-sized companies that have PHP-driven sites:

  • Facebook
  • Wikipedia
  • ING
  • IKEA
  • US Small Business Administration
  • Friendster
  • Flickr
  • PhotoBucket
  • Sourceforge
  • Yahoo! Answers
  • Garmin
  • Digg
  • Wake Forest University

They don’t sound so small. Or simple.

Work was a little slow midsummer. It’s really picked up in the last 4-5 weeks – a number of new projects getting started, and enough work that I hired a second intern this week. But during the lull I seem to have strayed a bit from my ‘ideal client’ mentality.

I’m working on a few jobs where the client brought the design and just wanted some ‘design advice’ and coding. I won’t do that again anytime soon – I find it really frustrating to offer well-considered advice, only when asked for, and have it ignored, or worse, be told that I don’t know what I’m talking about. That’s not the kind of client I enjoy working with. I like partnering with people who value what I can bring to the table, not just my skills as a codemonkey. But here I am…

I took one of those jobs because it offered me a good opportunity to get some experience in a niche market where I’d never done any web development work. I think that was a good move and will be worth some frustration; the development parts are challenging and I love a challenge.

But the other one, it’s one of those situations where my instinct was on the fence. It didn’t say ‘run away’ clearly, which is what usually happens. It just said ‘meh.’ So I took the project mostly because I was in a slow work period. I’m being paid fairly; it’s just frustrating to see what could be a really beautiful website  build around a finely-detailed, high-end product instead looking like something from the mid-to-late ’90′s. Sigh.

Teeth gritted, I carry on and learn another lesson about the importance of choosing the right people to work with for the right reasons.

On Saturday night I downloaded the Hybrid WordPress framework and installed it on the site where I’ll be reworking my main website. By Sunday afternoon, I was a total convert from WP Framework.

I learned more about advanced WP custom theming in a day than I have in the last month. Very excited to delve more deeply into Hybrid and all its possibilities.

Well this took a big chunk of time last night so I thought I’d start a post here with the info I collect. Here’s the .htaccess text for parsing PHP in HTML files on various hosts.

Network Solutions

AddType application/x-httpd-php .html
AddHandler Extension_Type .html .htm .php3 .php4 .php5
Action Extension_Type /cgi-bin/php.dat

HostGator

AddHandler application/x-httpd-php5 .htm .html

I’ll add more as I run across them.

© 2012 position: relative; All rights reserved. Powered by WordPress.