Posts about Drupal.
Having gone through the the specifics of the interesting parts of this module, this article shows how it all comes together.
You can find the code for this module in its sandbox on drupal.org. To download it follow the sandbox instructions.
The resulting node edit form is far too complex for most users, it is asking for information it doesn't need (the body, comments etc.) and for flickr information which is awkward to obtain (the set id) and to cap all of that the set id has to be entered twice.
The Drupal 6 pager_query() function has problems. If it isn't given an SQL query to count the number of items to page it rewrites the query it does have, that query returns the actual items which are being paged. Here is what it does:
In part 1 I set out the problem and the aim. This post will cover setting up the modules required to display a gallery. The custom coding needed to make creating galleries a breeze comes in part 3.