Taxonomy

No save button on vocabulary page?

I recently got a call from the content managers of a website I support, complaining that they couldn't reorder vocabulary terms any more. Specifically, the Save button was gone! Took me a while, but here is why, and how to solve it (if you just want the solution, scroll to the bottom)

Read more »

Taxonomy term URLs gone FUBAR

One of the things I love about Drupal is the taxonomy system. It's convenient and stable... except when it's not. I got 404s for the term URLs (both system and alias) and the cryptic message "Notice: Undefined index: href in menu_local_tasks() (row 1973 in path2site/includes/menu.inc).". Well, here's what worked.

Read more »

Nodequeue tricks - Per section block

in PHP, drupal, taxonomy, views, nodequeue

I assume that if you've build a relatively large site, you've stumbled onNodequeue by now ( summary: it allows you to create lists of arbitrarily ordered nodes ). But clients always had a thing for imagining things that are normally tricky to do, and one of them is to create a block that has arbitrarily ordered content per section of the site, usually by taxonomy term.

Read more »

Using different views for different vocabularies or terms

in drupal, taxonomy, views, tvi

You really aren't using Drupal right if you're not harnessing the power of taxonomy, and you haven't seen much of it until you understand views. The only limitation for me was that you have to streamline all terms to look alike, in order to fit in the same templating. Well, not anymore!

Read more »

Order matters... at least with pathauto and taxonomy!

in drupal, taxonomy, pathauto

In most cases, when building a Drupal site I prefer to have a single content type, with nodes distributed in sections via a vocabulary. It then makes sense to use the term in the node aliased path -- unless you have multiple vocabularies.

Read more »