module-building

Development Tip: Leave Only Footprints

Here's a quick tip for newbie module builders (like myself).

The process of development is likely to involve many installs, as well as many uninstalls, of your new module. If you're doing this right, you'll have a hook_uninstall() function in your .install file that cleans out any DB tables you've added.

Taxonomy Functions (and a Taxonomy Function Gotcha)

I've been working on a custom module recently that periodically imports data from a MS SQL database via (thankfully!) a web service. One interesting chore so far has been setting up the .install file so that the taxonomy tables are pre-populated with the same terms used by the incoming data.

Syndicate content