Tagged: theming

Arm yourself with Drupal $body_classes!

A common question I get for theming Drupal sites is how to apply css to specific pages. For example, you might want your background image for your header to change on specific pages. Out of the box, Drupal doesn’t give you any class in the HTML that’s unique to your node to grab onto. This

Read more »

A lesson in the usefulness of CSS sprite generators

The basic premise of a sprite image is to consolidate your site’s graphics into one (or more) master image file. Then, with the magic of CSS’s background-position property, you can shift the master sprite image around and only reveal the parts you want. Like a window. Some might even say like a Sliding Door. What

Read more »

Theming the User Login Block

Don’t want people to look at your site and immediately know it is Drupal? Theme your user login block! While it isn’t always your top priority, customizing the look and feel of the login form helps maintain the integrity of a custom design. In this post, I’ll get you started using both CSS and PHP

Read more »

10 Tips for Theming Drupal 6 Forms

In the last month, I’ve been working on a project that requires a very custom look and feel for login/register/adding content forms, and worked what I’ve learned into a presentation. Now I’ve got a little running list of tips for whipping Drupal forms into shape. Check out the Stealther plugin. If you are theming a

Read more »

Faking imagecache for external images in Drupal

Imagecache is just one of those modules that we use on a consistent basis. There are usually many places within a complex site where the ability to crop and scale an image to a certain size comes into play. While this works great for images that you are storing on your own server, you run

Read more »

Table-free Gallery Grid View in Drupal

In my role here at Advomatic, doing Drupal Development, for the last two projects I’ve worked on, I’ve gotten requests for a surprisingly tedious layout that looks a little like this: It’s a grid of images with captions of varying length. Now, this would be a cinch with tables, I prefer to handle these with

Read more »

Drupal Maintainability I – Let Drupal work for you.

Here at Advomatic our bread and butter are site planning, Drupal development, and Drupal hosting. We host many of the large Drupal sites that you the Drupal community have created. Along with that we have recently started offering a drupal maintenance service. We offer security upgrades and ongoing maintenance for the sites that we host.

Read more »

Calling it a wrap: A checklist for your theme’s finishing touches

Whew. It’s finally over. Months and months have gone by, and the project you’ve been working on is almost ready for launch. Normally, you’d be happy to just push the project to the back of your mind and say, “NEXT!”… Before that though, I think there are a few things we owe the client… little

Read more »