Remodeling Four Kitchens: A look inside our new brand
With the additions of Advomatic and Manatí, we’ve had an exciting few years at Four Kitchens. While we’ve remained fundamentally the same organization, we’ve also been evolving into something new. It’s time for our brand to catch up.Learn more
A more modern, sustainable approach to higher ed websites with YaleSites
A higher ed website is a product, not a project. Learn about Yale’s sustainable approach to digital development and how your team can do the same.Learn more
News and insights from the Web Chefs
Filter by topic
Filter by type
A is for Aaron’s birthday
Four Kitchens co-founder and design Aaron Stanush recently turned 30. To celebrate, we filled his office with black balloons, went to Uncle Billy's Brew and Cue, and ditched work to go bowling. Just another day at FKHQ. Aaron is also a homebrewer, so we gave him a copy of Tom Robbin's B Is for Beer inscribed with this alphabet poem: A is for Aaron B is for Beer C is for Cycling D is for Double Pecan Porter E is for eBoy F is for Shepard Fairey G is for Guacamole H is for display: Hidden; (or Hefeweizen) I is for Invoicing J is for Je voudrais un billet, cinq jour, trois zone K is for Kidrobot L is for Losing a passport in Hungary M is for McFarlane Toys N is for Nintendo O is for Open Source (or Octoberfest) P is for Portmanteau Brewing Q is for Quantic (or Quadrupel) R is for Rollerblades S is for Ska/Punk T is for Typography U is for Underground Hip-Hop (or UT) V is for Volkswagen W is for Weird Wednesdays X is for sXe Y is for Yelp.com Z is for Zombies
Promiscuous stylesheets in Drupal 7
One common practice when using CSS frameworks such as 960 Grid System, Blueprint, or Baseline is to use a CSS reset. Each web browser applies a set of default styles to HTML elements, and these styles vary among browser vendors. A CSS reset is a stylesheet that clears these default styles so that you know what you're working with as you implement your theme's CSS. The caveat with a CSS reset is that it needs to come before all of your other stylesheets. This presents a problem if you want to use a reset in your Drupal theme: all of the theme's CSS will be added after Drupal's system CSS and after any modules' CSS. If your reset is loaded after these, the system and modules' styles will all be undone, which probably isn't what you want. Drupal loads theme styles last because, usually, you're just adding to or overriding the existing styles, not wiping them all clean. It is possible, however, to have Drupal output a stylesheet from your theme before the system and module stylesheets.
Option groups in Drupal forms
One really useful HTML element that doesn't seem to get much love is optgroup. It allows you to group the items of a select list in a way that may be more meaningful (and more readable) to your users than a long, uninterrupted list. The option group labels themselves can't be selected, so there's no need for back end logic to filter them out of your form data. Drupal's Form API provides option groups, but it isn't immediately obvious how to use them. A quick check of the select type and #options attribute in the Form API reference doesn't provide any clues about option groups, so it's necessary to dive into Drupal's source code.
Drop that cron! Use Hudson instead
For years, I used cron (sometimes anacron) without asking questions. The method was simple enough, and every project requiring cron-related capabilities documented the setup. There is a much better way, and it involves Hudson.
Open your Golden Gate
The masses have spoken! Four of the Four Kitchens' web chefs will be presenting (you guessed it) four sessions at DrupalCon San Francisco 2010! Here's the low down in case you want to catch any of these talks during the conference.
Initial impressions of HipHop PHP and porting Pressflow
I spent most of the weekend porting Pressflow to HipHop PHP. Josh Koenig from Chapter Three was also kind enough to spend much of his Saturday working with me. Pressflow doesn't quite run on HipHop yet, but we're working on it. Building HipHop PHP and Pressflow Getting a good build of HipHop was quite a challenge. However, if you're on 64-bit Ubuntu 9.10, you just have to follow our build instructions.
Making the web a better place to teach, learn, and advocate starts here...
When you subscribe to our newsletter!