User login

Drupal

Views display naming practices: don't rename the Default display

[note] The Default display is always the Default display. Changing its name will just confuse ourselves and others, and should not be done. [/note]

And in Views 3, we cannot change the name of the Default display anymore.

If this software keeps getting better and more intuitive, how am i supposed to <a http://definitivedrupal.org/node/95">write about how to use it?

Display the word count of a piece of content

In the most useful comment on a thread of useful comments, Greg Harvey describes how to get the word count for a node in the template level: access just the body portion of the content variable for a node in and count the words in template.php, then output this variable in node.tpl.php.

Upgrading from Drupal 7 alpha to Drupal 7 alpha

Alpha to alpha upgrades are officially unsupported and the HEAD2HEAD module focuses on precisely that, continuous changes in CVS HEAD not upgrades between the alphas.

UPDATE: Head2Head does have an alpha2alpha module, use that. Consider the below a learning exercise... in examining existing modules that may solve your problems carefully!

Newer update! See Upgrading from Drupal 7 alpha 6 to Drupal 7 beta 2.

Do not allow users to select parents in a term hierarchy, but only the lowest-level terms

This would be quite useful functionality, and i'm sure i've seen it implemented or at least requested somewhere.

In effect, it makes the hierarchy in a vocabulary just an organizing tool, preventing the grouping labels higher in the hierarchy from being used as terms.

Drupal 7 and Views 3: Coming soon (already) to a website near you

Earl Miles (merlinofchaos) Views 3 Roadmap: http://www.angrydonuts.com/views-3-x-roadmap

Views 3 is ported and working for Drupal 7.

dereine (Daniel Wehner) has been making many of the 7.x commits.

The goal is for Views 3 to use CTools as a dependency, but CTools is still in development for Drupal 7: http://drupal.org/node/343333/release?api_version[]=103

Change the vocabulary of a taxonomy term in Drupal 7 using the database

By clicking the wrong Add terms link, i managed to add a couple terms to the wrong vocabulary.

One of the powerful things about taxonomy is that all terms are really equals under the hood, no matter what vocabulary they belong to. Unfortunately, Drupal does not make this power available through the UI. We can, however,

Syndicate content