Drupal

[HOW-TO] Config Nginx to work with Drupal 6

Yesterday, I’ve tried to setup Nginx as a Reverse Proxy for Apache – Worker MPM base webserver. I found that it doesn’t help my server performance as I expected. So, I decided to try to set up Nginx to be a Webserver to see if Nginx can give me a […]

Adding custom body classes to the standard Drupal output

Here’s a great trick if you need to add custom classes to the body tag output of your Drupal theme. This goes above the standard body tag output using a line like this in your page.tpl.php <body class=”<?php print $body_classes; ?>”> Which only creates the usual body classes like: <body […]