Tag Archive for 'drupal'

!= but ==

In all the fervor surrounding today’s launch of the seventh major release of Drupal, I ran across a post pitting Drupal 7 vs. WordPress 3.0 in a basic comparison of features.

The post was not published recently or anything, but the underlying tone of the article is summed up in a couple of Tweets quoted near the bottom of the post:

RT @chx1975: WordPress is now approximately where Drupal was around Drupal 5 w/ content types. See you in 2015.

RT @newoceans_en: @Dries Drupal 7 will hopefully be where WordPress was around 5 years ago regarding UX.

I get it. Its all great fun to get into a pissing match with a friendly rival, at least until somebody gets wet, but to me this smacks of the ‘Editor War‘ between vi and emacs; forever the flame that lights the nooks and crannies of hacker culture.
Continue reading ‘!= but ==’

Nginx Virtual Host Recipe for Drupal

Since more than one person has asked me for my Nginx Virtual Host recipes, I figured I’d post it to my blog. The attached file should be good to go out of the box, but be sure to change domain.tld to your actual domain name. The wildcard record will allow your site to respond to ANY sudomain request, which may not be something you want.

You’ll also need to change the path to your log files, as well as the path to your public webroot folder. Finally, up the client_max_body_size to match your upload_max_filesize and post_max_size settings in php.ini.

Finally, this assumes you are running your PHP fast cgi process on port 9000.

This is the recipe for Drupal. I’ve also posted one for WordPress and WordPress MU / BuddyPress.

Download Nginx vhost for Drupal with imagecache support

Please post ways to improve this in the comments. I use this on a number of production sites, but there is always more one can do. Thanks to all of the blogs and articles that I ripped off helped me understand Nginx and got me started.

Managing Multiple Drupal Sites with SVN

You’re a smart and handsome developer and as such you utilize a source control solution in your work. Your work focuses on the excellent Drupal platform, and as such you have multiple Drupal sites that you manage for yourself as well as your clients. Storing each site in its own repository is good, but storing your commonly used modules in a central repository and pulling them into each site via svn:externals is better. This talk will show you how.
Continue reading ‘Managing Multiple Drupal Sites with SVN’

MySQL Graph

15k Queries/sec

This is what it looks like, when n00bs cry.

US States – Drop Down menu in Drupal

When defining Content Types in Drupal with the Content Construction Kit you get a chance to make select dropdowns with it. It takes its key/value pairs in this format: Key|Value. The attached list will give you US States in this format. Hopefully this will save others a bit of time in preparing such a list for CCK.