drupal-development

Drupal Query builder

I quite often use Drupal's Views Module to build SQL that I paste into my code. It understands the Drupal database schema quite well. Is there a module that would give me this functionality or can I factor this out of Views? ...

Drupal 6 knowing it's current environment

Hi, I want to write a utility function so my Drupal project knows if it's running on the development, staging or live server. Something like: function mymodule_is_development() { return (//some condition) ? TRUE : FALSE; } Does anyone know how to do this the Drupal way? Drupal's multisite functionality should be leveraged I ...

Display content in two columns with fixed height in drupal

I'm in need of some pointing in the right direction here... I have a site with a couple of different content types. I want to display this content in a book-like layout. The book should be of a fixed width and height and the pages should be populated with as many nodes as can fit. It should be in two columns, with the left column being ...