Recently, we had some pesky scrollbars hanging around in IE11 and Edge that were showing up unnecessarily. To hide them when the user isn't interacting with them, here's what you can do.

For Windows 8 and later, you can use this property:


You can slap this in your code base and the scrollbars should show/hide upon interaction instead of showing by default:

html {
-ms-overflow-style: -ms-autohiding-scrollbar;


I've recently switched my "daily driver" for web surfing to Safari on my Mac. For one, well, it's just way faster. It might be that I have few extensions on it (mostly just LastPass), but I think it's also just generally pretty zippy. I found that Firefox weighs itself down after about 8 tabs, and while I'm definitely not a tab hoarder, sometimes my tabs can get upwards of around 15 when I'm doing research. 


One of my big projects this past summer as an intern at Redfin was to learn about the design software Sketch. This was supposed to culminate in a small presentation just to the office, but I ended up giving a presentation at a “birds of a feather” session at Design4Drupal in Boston. A couple people who missed it asked if I could record it, so I made a video of it once I got back to Portland.


While we at Redfin don't really yet have a full on base theme for every project, one thing we do use is our "bundler shell." This forms the basis of any Drupal 7 or 8 theme we build, and in fact, is really just the framework for the front-end (that is, this shell is useful outside of the realm of Drupal, actually).

First things first - here's the code.

Let's go ahead and begin the dissection...


Have you had this happen to you?

You create a great block display in Views. You configure it just right for your pages and then, it shows up, or part of it does, on pages where there is no content to fill it? As a relative newbie to Drupal Views, this stumped me for a bit. Fortunately there is an easy fix right in Views.

The How To:  (you can do either or both parts depending upon what you need to accomplish).

Part 1.

Under FIELDS: click each field and in the "No results text" area, check the "hide if empty" box.


This is something that is so simple to do, once you have figured out the steps to get to the right little click boxes to appear. I wish that it were more intuitive to find, but for all those who struggle with “hiding” the page titles, Display Suite makes it really easy to choose to hide the page title for a specific Content Type or for a particular Node.

Follow these steps:

(I’m starting at the beginning for Newbies)

1. Download and install the Display Suite Module. (If you are using Drush the (current) module-name is “ds”).


I am constantly re-working Drupal's tabs to look a little bit more like a pile of bricks, and I've finally decided to stop reinventing the wheel and to document the CSS that makes them display more sanely. (Namely, if you have a narrow main column and a lot of tabs, they start disappearing into the ether over at the right).

I hope this snippet helps some other folks, too.

This fixes your default Drupal tabs by taking it from this:


For some reason I have a huge mental block when it comes to image captions. I can never quite remember exactly which combination of modules I prefer. Part of this is because I've tried so many different modules that offer this functionality. Also, they all have similar names, such as Image captionCaption filter, and Image caption formatter.


I recently needed to redirect a client's traffic from their old URL to a new one. In this case, they wanted any traffic going to plain to go to and all other traffic to go to[equivalent URI] (e.g., -->

To do this, I messed around with rewrite rules and conditions for a while, until I decided on what seems to be a fairly straight forward solution:


MySQL and PostgreSQL's MD5() functions are nice, simple, ways to hash your data. Unfortunately, SQL Server 2005 and up (sorry, in order to get it working in SQL Server 2000, you'll need to try a stored proceedure), you can use the HASHBYTES() function.

In a recent SQL Server port of the Actions module for Drupal 5, I ran into the following MySQL query:

SELECT aid FROM {actions} WHERE MD5(aid) = '%s'