Drupal

Drupal 8 development is a closed discussion

technology: 

Drupal 8 development is headed in the same direction as Drupal 7, a closed discussion on what could be achieved.

drupal_lookup_path()

Drupal: 
technology: 

The Drupal function drupal_lookup_path() is the biggest database access time consuming function on many Web pages and chews up ten times more than most other functions. There are some straight forward solutions and some difficult ones. Here are the problems and potential solutions. You can use the results in other database access code.

Devel module for Drupal

Drupal: 
technology: 

The Devel add-on module for Drupal gives you a way to look at the impact of new modules and is useful during module development plus web site development.

Notice: Undefined index: to in DefaultMailSystem->mail() (line 83 of /var/www/example.com/public_html/modules/system/system.mail.inc).

Drupal: 
technology: 

Notice: Undefined index: to in DefaultMailSystem->mail() (line 83 of /var/www/example.com/public_html/modules/system/system.mail.inc).

You forgot the $message['to'] part of $message.

You could be using a main function direct, mail($message);, or the following drupal_mail function with an invalid $to. An invalid $to is unlikely because processing will almost always stop with an earlier error message.
drupal_mail($module, $key, $to, $language, $params, $from, $send)

Warning: implode(): Invalid arguments passed in DefaultMailSystem->format() (line 23 of /modules/system/system.mail.inc).

Drupal: 
technology: 

Warning: implode(): Invalid arguments passed in DefaultMailSystem->format() (line 23 of /var/www/example.com/public_html/modules/system/system.mail.inc).
Somebody broke the following line of code. You are sending mail without the body component or with the body component in the wrong place or with the body containing a string instead of an array.
$message['body'] = implode("\n\n", $message['body']);

Module variable

Drupal: 
technology: 

The Module variable add-on module for Drupal provides a mechanism to use variable storage in a more modern, efficient, and module oriented approach than the current Drupal variable_get(), variable_set() system.

Colorbox

Drupal: 
technology: 

The head of the King Parrot, Alisterus scapularis, showing the brilliant crimson feathers on the head.

Some people like lightboxes. Some people hate them. They are overused and abused. Colorbox is the best lightbox for Drupal 7. Select the King Parrot to see Colorbox in action.

Drupal.org colours

Drupal: 
technology: 

What are those colours used on drupal.org?

Drupal function sequence page save

Drupal: 
technology: 

Here is sequence information for one of the most commonly questioned areas of Drupal. "In what sequence do the node functions work in a page edit?" Most modules work on nodes. Most node modules intercept the node edit or view or both. The sequence of node functions for a node view confuse module developers and the people using newly developed modules. Here is the edit save sequence.

Drupal function sequence page edit

Drupal: 
technology: 

Here is sequence information for one of the most commonly questioned areas of Drupal. In what sequence do the node functions work in a page edit? Most modules work on nodes. Most node modules intercept the node edit or view or both. The sequence of node functions for a node view confuse module developers and the people using newly developed modules. Here is the edit sequence.

Pages

Subscribe to RSS - Drupal