Drupal

Which version of drupal is this tutorial for? D6 or D7?

Drupal Essentials: Drush

Drush is one drupal tool that has changed my life.

It makes it so much easier to upgrade sites, download modules, clear caches, and so much more.
Best of all, it's a killer time saver.

drush documentation can be a little lacking, but thanks to the Drupal NYC meetups, I learned a ton from other drupalistas.
One of my favorite tips is aliases. That's how you can target a specific site to enable modules and perform other actions.

Other stuff I use from drush:
drush @sites cc all
drush @alias en modulename
drush @alias dl module

How to figure out CSS

As you're developing and debugging your Drupal sites and themes here's some tips:

Turn off caching. Your pages won't show any changes if you have caching turn on.
Turn off css aggregation. You're going to notice a bunch of problems trying to figure out which stylesheet contains a specific style. (In firebug, it's going to look something like this:
body.toolbar-drawer { css_dsafdsfdsafhrlkfdagibberish.css:8}

That's because drupal aggregates the css files.

Subscribe to RSS - Drupal