All - Web Development Articles

Multiple Login Sessions in a Single Browser

One of the tasks that web application and CMS developers run into daily is testing a site as several different types of users. Say you're developing an application or Drupal site that serves annonymous users, authenticated users, and various levels of administrators. Each user experience is different, and it's very time consuming to switch between user types in order to develop and test.

There are a few ways to do this:

jQuery for Uppercase and Mixed Case on a Large Drupal Site

I ran across an HTML/CSS challenge recently on a fairly large Drupal site (~ 400 pages). The designer specified using all-caps for headings and menu items. Naturally, using all-caps is a design decision that depends on the typeface, font size, kerning, etc. Typically, I don't care for all-cap text; but in this case, it was the right call. The catch (which we learned deep into the development process) was that the client wanted certain branded words and phrases to remain in mixed case.

Non-existent pages showing up in Google Analytics

Recently, I had a client tell me that he was seeing non-existent pages show up in his Google Analytics real-time report. He sent me a screen capture:

 

There is definitely no MAPdummy.html page on his site, and it doesn't follow our naming convention. As expected, if you attempt to access that page on his site, the real-time hit looks like this:

Grouping fields together in Drupal Views

During a recent project, I needed to group several fields together within a Drupal view. I was creating a dissolving jQuery slideshow with a control panel. Each slide consisted of a fixed-size background image and a body field containing HTML on top of the image. In addition, there is a "counter" field that displays a control button for each slide. The control buttons for all slides are grouped together outside the area that dissolves. The user can see which slide is currently active and flip between slides using those buttons.

A/B (split) Testing with Google Analytics Experiments in Drupal

I've been wanting to delve into A/B testing for some time, but I just haven't had the time available. Today, I finally decided to jump in and see how long it takes to set up.

Clustering / grouping markers in Google Maps

Recently, I had a client ask me to upgrade an embedded Google map for their locations page. The map allows you to view their locations by category: Manufacturing, Corporate, Engineering, or Technical.

The problem was that some of the location markers were too close together. Two of their plants in Ohio are just down the road from each other, so trying to show those two location on the same map that shows facilities in Hawaii and Connecticut was nearly impossible. The two markers in Ohio are directly on top of each other.

Rearranging HTML list items in a Drupal menu using jQuery

At some point, you might find the need to rearrange or change the order of HTML unordered list items (<ul> <li>). There are a couple potential reasons: you might want to sort the list alphabetically, or, as in the case of a Drupal site we recently launched, you might need to turn an unordered list menu into columns.

Custom horizontal jQuery accordion menu

The products menu at ClarkDietrich.com is based on a custom-built horizontal accordion UI:

What CMS is that site running? Must-have web development tools

Have you ever wanted to know what CMS a web site is running? Typically, I would scan the source code looking for telltale signs. But I came a across a great web development tool today.

Wappalyzer is a Firefox extension that gives you quite a bit of info about a site – not just the CMS, but lots of other stuff like JavaScript frameworks, web server, and development language.

Preventing development and staging sites from showing up in Google search results

At some point, most developers have found that, despite their best efforts, one of their staging or develoment sites has been found by Google or other search engines. Usually, this is because we must make the work available for preview to the client before the site goes live to the world. Without careful planning, it can be tricky to show a staging site to a client, but not to Google. Do not assume that, because you haven't submitted a URL to search engines, they won't find your site. Take proactive measures to keep your dev and staging sites out of search engines.

Wrangling meta tags in Drupal site to control description in Google search results

If you've ever been confused by where Google derives the text for search results pages, you're not alone. I was surprised today to find my description in Google had recently changed.

Indianapolis Drupal Development – Search results listing

The text "Offers web application development, content management..." is nowhere on my site.

Google uses a few different sources for the description snippets in search results: