User login

Drupal 6

Deleting the last content type containing a field deletes that field also

Which is good if that's what you want.

No content_field_fieldname table remaining, and no entries in the content_node_field nor content_node_field_instance tables.

Very nice!

Fixing Menu Block for menu items with the same path (that also have another valid path)

"exanded" elements of a menu-item-rooted tree aren't expanded

Working modified function (the patch has more):

How to theme a form in Drupal 6

Theming a form, like theming almost anything in Drupal 6, requires registering the theme function with hook_theme in a module or a theme. The FormAPI docs and the Drupal 5.x to Drupal 6.x form upgrade guide (Drupal 5.x to 6.x FormAPI changes appear to remain a little deficient in explaining this.

See for instance How to theme a form in Drupal 6.x?

See all path aliases for a node

Now a module!

drupal show all paths
drupal show all paths for a node
show alias
drupal module list aliases

Show path aliases to nodes in other languages

How to add a node id to a page's CSS classes

If your page.tpl.php already prints $body_classes (or equivalent) in the <body> tag, then you likely need only to add a single line to have the nid included with a class such as "node-1".

drupal add node id to theme template
drupal add node id to page template

Syndicate content