gotchas

Google Maps in Drupal 5

So, in the process of moving a static HTML site over to drupal 5, I had to deal with the DIRECTIONS page. Simple enough, yes? Yes. The page also had some embedded Google Maps. Simple enough to move over to drupal, yes?

[Note: there is a module for this, though it seems much more than we need here. Plus, it's marked beta.]

Yeah, not so much.

taxonomy_vocabulary_load

Heads up, if you're using taxonomy_get_vocabulary somewhere deep within your module or snippet.

The function has been re-named in drupal 6. It's now taxonomy_vocabulary_load.

Of course, you can future-proof your snippet (it would be silly and/or lazy to do the following in a module) by simply writing:

Syndicate content