theme

Removing all the Drupal CSS files to start fresh

When designing and developing a Drupal theme it is often more time consuming for me to override all of Drupal's default CSS styles. So, after quite a bit of research I decided to make a simple solution for resetting the styles so I can really start fresh. I also found that if we just delete all of the styles Drupal and all of its modules set, we are left with some huge holes.

Below is some simple code to accomplish this in Drupal 6. Just copy and paste it in your template.php file.


function [THEME_NAME]_preprocess(&$vars, $hook) {
$css = $vars['css'];

Latest brainstorm: iTheme - A Drupal iPhone Module

So if you have an iPhone or iPod Touch you probably love it as much as I do. I rarely run into anything I can't do on my iPhone, but the other day I did and it got my brain going. I wanted to be able to administer my Drupal sites effectively, and I wanted to give my customers the same luxury. If you've ever seen the Drupal admin interface then you know what a snake-pit it is. Initially I was a little overwhelmed by all of it and I struggled with how to make it all work on the limited space the iPhone provides.