You are here

November 2009

Devel's helper functions

Submitted by devblog on Mon, 23/11/2009 - 20:34

Blagged from for reference


Prints a variable to the ‘message’ area of the page using drupal_set_message(). You can use this function to keep track of one or more variables when you’re working on the code running your site. Because the Devel module now comes with Krumo, the output is compact and unobtrusive.

dpm($input, $name = NULL)

If, for some reason, you are not using Krumo, you can use the $name parameter to distinguish between different calls to dpm().

Setting up Domain Access on Drupal

Submitted by devblog on Tue, 17/11/2009 - 22:24


Configuring Drupal for different publishing roles can be very time consuming. There are lots of modules to install, settings to configure, permissions and roles to grant, input formats, content types, and the whole bandwagon, and these can be very difficult to setup again when you create a new website.

You have to duplicate your database, delete your content and start again, hoping that you don't forget stuff you need.