Web Development

Key Drupal 5 concept - boxes are not automatic

A key feature in Drupal is being able to create plugins/modules that create their own blocks, chunks of functionality that can be placed anywhere on the page by using the blocks/regions configuration or panels. If you do happen to create your own, bear in mind that while you automatically gain the features of the mail blocks table, you do not gain access to the boxes table, so you have to create your own body content block. Just thought you should know. And yes, this fact has just dawned on me. Doh.

Tags: 

rubygems 1.2.0 causing problems for anyone else? (SOLVED!)

After updating to rubygems 1.2.0 I've noticed that my mongrels started returning the following colorful error on every XHR load, i.e. all AJAX requests fail but regular page loads are fine:

Mon Jun 23 23:39:15 -0400 2008: HTTP parse error, malformed request (127.0.0.1): #<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.>

Given that rubygems was the last thing I updated, I figured I'd try reverting to the previous 1.1.1 release using the following steps:

Tags: 

Pages

Subscribe to Web Development