Case Study: Saint Louis Review News Website

In what will be the first of, I hope, many case studies, I review the process of redesigning the Saint Louis Review website, from the ground up.

The Saint Louis Review is a local Catholic diocesan newspaper serving the nearly 500,000 member Archdiocese of Saint Louis. The newspaper has had a website since the late 90s, which was ported to a custom-designed CMS in 2001. The PHP/MySQL-based site ran quite well throughout the first decade of this millennium, but was in need of either a serious overhaul or a redesign, to go along with the paper's new tabloid layout in April 2009.

Old and New Saint Louis Review Websites

The decision was made in 2007 to port the website to Joomla, but after a few months, a new editor, and more work, it was determined that, due to its extensibility, flexible out-of-the-box permissions, and standards/SEO-compliant codebase, Drupal would be a better fit for the site. Work was begun in January of 2009 to transfer the custom CMS' articles database (over 17,000 articles) to a Drupal site, create a new template based off the colors and design of the new tabloid-format paper, and integrate an easier-to-manage ad system and back-end.

Preliminary Work (a.k.a. Finding Help!)

Since I would be the only one managing the templating, transfer, fit and finish, it was determined (by me) that I would not be able to do all the work myself in the alotted time (January - April of 2009), especially since I had to work on three or so other large projects during the same time frame.

I had a look-see in the Drupal 'Paid services' forum, and found a very knowledgeable and efficient programmer to help code a few custom modules within a few hours. Drawk, an active Drupal contributor and programmer, wrote custom scripts and modules to help with the MySQL database transfer, the subscriptions database, and a few other needed custom functions. Drawk's site, whatwoulddrupaldo.org, isn't the most frequently updated in the Drupal community, but is definitely worth a subscribe!

We communicated primarily by email, and within a few days, I had the full database from the old site installed on the testing site, which made working with the taxonomy, views, and layouts oh-so-much easier. (Working with lorem ipsum text is not necessarily a good idea... but there are differing opinions).

Theming

As I've written before, I'm extremely excited with the direction Drupal is moving with regard to helping designers do what they do best—design. Even though many nice theming features will have to wait until Drupal 7, there is a lot a designer can do with Drupal 6, even on a tight schedule. Having had a small bit of experience with Zen, and having only a week or so to go from PSD to reality, I knew I couldn't scratch-build a theme, and would create a Zen sub-theme for the site.

First, the color scheme - I received a PDF of the new newspaper design's layout, including the new color scheme, and I simply built my own little color palette out of that:

Color Palette for Saint Louis Review Website from Newspaper Template

I worked out the original design in Photoshop, after scribbling down rough ideas and a few mathematical formulas for the grid sizes on a piece of paper (which I've conveniently lost, and thus can't post here). You can view the original (somewhat simple) design here (straight from the .psd file):

Saint Louis Review - Original Design

With a good eye towards the limitations of CSS in current-generation browsers, but a good knowledge of ways to cope with potential disaster, you can take most any grid-based design and hash out a rough Drupal theme within hours, especially if you start from an excellent base theme system, like Zen or Genesis. The above design was relatively rough, but the site's layout ended up being almost exactly the same, placement-wise.

I decided to stick with a 960px fixed-width layout, with one right column and a large central content area. I liked the right-sidebar design mostly because the site gets about 8% of its visitors on 800x600 screens (it's an older audience, right now). Because of the content appearing on the left, these visitors won't need to scroll sideways to see the most important information.

As time went on, there were many small tweaks that gave the finished product a much more refined (but in some ways 'information-heavy') feel, especially in the header, sidebar, and footer:

Review Website Design - Final

Some notes on the final design:

  • I ended up customizing the search-theme-form.tpl.php file to allow for some jQuery-enabled text inside the search box, and a transparent PNG magnifying glass to the right of the search box.
  • Internet Explorer 8 was released mid-development-cycle, which made it necessary for me to branch IE-specific stylesheets into the IE 7 and IE 6 and below sections. IE 6 can be quite nasty with floats, margins, padding and positioning, but most of the layout on the site was not affected too negatively.
  • After reading Footers in Modern Web Design, an excellent article over on Smashing Magazine, I decided to revamp the footer and add in more destinations for users who have read through the page's content.
  • Looking at the site on browsershots.org, I'm pretty happy with the design result. It looks very similar, if not identical, across almost every browser, going back to Internet Explorer 6. Testing in a program like IETester is a must!

Choosing Modules (a.k.a. using Google a ton)

The Review website needed to have quite a few ways to allow people to interact with the thousands of articles on the site, and one of my main goals was to never let a new article stray more than three clicks from the home page. The old site had many categories that were simply lost to the ether, and site search was left on a separate page. I wanted people to find the information they wanted a.s.a.p.

Almost half the site is viewed through one view (provided by Views) or another, and all content types contain many custom fields (from cck), including imagefields, filefields, text fields, etc. I decided to use ImageCache for the main article images, since most articles have one or no images, and using such a method would allow for future automatic resizing of pictures down the road. Views also provides many of the site's custom RSS feeds (a few of which are listed top right on the home page).

There are a boatload of other modules used for minor site functionality and feature improvement, though. I'll list most of them here, along with the reason we used them:

  • Administration menu - I don't have a Drupal site without it anymore. Use it. You'll love it.
  • Archive - A quick, easy way to get all of your content categorized by year, month and day, without having to set up any views for it.
  • Date / Date API - Used for the scheduler functionality; allows posts to be held until the next day or whenever the author wants it to be published.
  • Classified Ads - No easier way to manage a classifieds section on the site... but it's currently in beta and doesn't work that well in D6. Hopefully this will change soon.
  • Global Redirect, Path RedirectPathauto, Search 404, Service Links - Useful for SEO and for helping users get where they need to go.
  • Persistent Login, LoginToboggan - makes it oh-so-much easier to control the login/user account aspects of a Drupal site.
  • Service Links - Allows easy content-sharing options on the bottom (or top) of posts. Gives people something to do when they're finished reading an article.
  • Similar By Terms - A nice way to give people opportunities to read more and dig deeper into your site. Provides a block of similar nodes, based on the taxonomy terms of the current node.
  • Taxonomy Manager - There is no easier way to manage Taxonomies and terms in Drupal. Seriously. (Still in beta on Drupal 6, unfortunately, but works okay).
  • Read More Tweak - who's idea was it to put a 'read more' link in the links of a node preview? Having it at the end of the content, and having customizable text is, as it were, 'the bomb.'
  • CAPTCHA - Needed wherever anonymous users can submit a form.
  • Fivestar - Another way to add a community-like function onto a site without actually enabling comments or forums.
  • Print, Email and PDF Versions - there is no better way to implement these three features than by using this module. It's easy to use, does its job perfectly, and looks pretty darn awesome to boot!

Whew! That's a lot of modules! Luckily, the site is only dependent on a few of them; the others simply add in niceties. I like keeping my sites relatively simple, and having too many module dependencies is never a good thing if you plan on staying agile and keeping the site updated quickly for security and performance. (As an aside, one site I work on is still running Drupal 4.7 because it used so many custom modules and non-maintained modules that it is cost-prohibitive to upgrade it at the current time).

The Rubber Meets the Road (a.k.a. Sleep = None)

The last few weeks, I have spent most of the workday, and from time-to-time a few hours in an evening, working on refining the front end of the site, tweaking content-creation processes, and making sure things are as spotless as I can make them. Even so, there's a lot of work to be done before I would consider the site truly finished:

  • Training: I will be continuously training the newspaper's staff on how to do things quicker and better to make sure the site and layout don't get messed up.
  • Future upgrades/additions: The newspaper will be moving to a new news content management system eventually, and the site will have to integrate with it to the furthest extent possible.
  • Subscriptions: Currently, there is no easy way for people to purchase a subscription online. This functionality will have to be developed soon, and I'm hoping to do a well-integrated solution so people aren't shot off to some third-party site simply to pay $25.
  • Photo Galleries: Yeah... we're working on them. There are 1,001 ways to do a photo gallery, and, unfortunately, I have yet to find the most functional and maintainable solution. This is something we're working on feverishly for this website.
  • Dynamic Redirects: I still need to get a few of the old URL structures transferred to the new site dynamically. For now, I'll suffer through the 404 errors, and set up specific redirects for the 404's that appear most often.

It probably didn't help too much that I chose just last week to migrate this site to an entirely new server (via SoftLayer). I had to spend about a day configuring the server and optimizing it for a well-oiled Drupal site. I'll likely spend some more time working on the backend of the server and site over the next few weeks.

The last thing I did (just this evening, in fact) was run YSlow! on the site's home page to see what little performance speedups I could afford to make. It turns out I forgot to turn on component gzipping, configure my Etags, and set an Expires header properly. I went from a score of 45 to 72 (and 2.2 sec --> 1.8 sec page load from a cold cache) in a matter of a few minutes. Want to make your Drupal site fly? Check out this great tutorial on Wim Leers' site.

Lessons Learned

I learned quite a bit during the development of this site, and I think I'm almost to the point of being able to contribute some of my work back to Drupal, in the form of a theme or two. I'm extremely grateful for all the help of the friendly people on Drupal's forums, IRC, and elsewhere, and I am excited to be working on a few other awesome Drupal projects (as always... more to come).

In the immediate future, I plan on posting a series of tutorials for beginning Drupal themers, from design planning to implementation on a Drupal site.

Comments

How many hours (with custom mod dev) do you think this entire project took?

@MatthewM - Probably something like 50-60 hours... but it's hard to guesstimate, because it was intertwined with a few other projects, and involved a lot of testing hours and group meetings too.

Thx geerlingguy,

in fact you have alrealdy contributed by this case study !
Thx for sharing your experience.

Did you configure a wysiwyg editor ? If Yes, how is the editor staff perceive it ? If No, how they enter content

Regards !
Nico.

@ Jim - I love DrupalSightings! Thanks for all your work on that!

@ Nico - thanks - I did configure wysiwyg, but only for the main news articles. I went with FCKEditor (should probably put a blurb about that in here), and decided to set it up so the only buttons were Format select (for headings), bold, italic, bulleted list, numbered list, insert link, and insert picture.

The editorial staff hasn't had any problems, and, luckily, copying and pasting from Quark doesn't cause any weird text formatting, like copying from Word can.

@ Drupal Theme Garden - thanks! Hopefully I can get a theme based off the site.

Man, this site looks great. And the write-up is just as well.

Got a question though that might take a little longer than a comment response, but i'm trying to create a large content area to be dominated by a photo as well. I'm using a NewsFlash theme (by the great RoopleTheme crew).

Any help or suggestions would be much appreciated.

Thanks

@ Kris: Concerning a large photo area, what I decided to do is simply make a new content type called "Front Page Photo," and the content type has a CCK ImageField which resizes the images to 500px on the horizontal axis, and then the text alongside is the node's Body field. I then used Views to make a block from the Front Page Photo content type, and the block just displays the latest front page photo.
Eventually, we will be using a sort of jQuery carousel-style viewer, and we'll have more than one front page photo at a time... but that's another task, another month ;-)