What you need

O means to download upload files to your modules directory O a text editor O a little php knowledge is helpful, but not required o a technical name for your node type (16 character limit) - no spaces, numbers or punctuation unless you know what you're doing (don't use the name of a module you already have) O a user-frieldly name for your node type (and a plural version of this name) (this is how your node type will appear in most places on your site) - spaces and numbers are ok but again no...

Win Merge

While these programs do a nice job in showing file differences visually, side by side, non of them as i can tell allows to actually save the difference in unified format most allow to save a standard diff, though - update TortoiseCVS lets you save patches. It does unified format by default. See its Make Patch option. Note that this 'Make Patch' option can make recursive patches when applied to directories. You cannot specify the -u in the External diff preferences eg diff -u as this will...

Drupals Javascript tools

Drupal's javascript toolkit has three basic components The javascript file drupal.js contains methods for implementing Javascript solutions, including AJAX see below . Specific Drupal functions in PHP help Javascript developers. These include drupal_add_j s , used for adding a js file to a page drupal_call_j s , used to generate a javascript call and drupal_to_js , used to translate data from Drupal PHP to Javascript objects. As well as the generic tools in drupal.js and the PHP Javascript...

Database table prefix

On 2003 Jul 10, Dries committed Slavica's table prefix patch which allows for a configurable prefix to each drupal mysql table to easily share one database for multiply applications on server with only one database allowed. This patch requires all table names in SQL-queries to be enclosed in curly brackets , eg. - db_query DELETE FROM book WHERE nid d, node- gt nid db_query DELETE FROM book WHERE nid d, node- gt nid so that the table prefix can be dynamically prepended to the table name. See...

Modifying checkboxes to display in multiple columns

This tip will show you how to modify the checkboxes element type so that checkboxes display in multiple columns instead of one single column. This is particulary useful for modules that would have users select from a very long list of choices. This tip will help you present the checkboxes in a more compact form, making your site more user friendly. Disclaimer This document shares how I solved this particular problem and doesn't claim to be anything more. There may be other ways of accomplishing...

Tutorial Creating new Javascript widgets

If you want to implement functionality not already available, you'll create a new Javascript file and then write PHP calls that add to the page what's needed for the Javascript to work. So, to come up with a simple if fairly useless example, say we want to write a module that allows users to click on specific words and get a message with further information. Here's how we might do it. Use CSS class selectors to identify the elements to add the Javascript to. You might be familiar with the...