Martin's Margin

Drupal

Posts about Drupal.

Drupal, Flickr and a photo gallery part 4 martin Sat, 08/06/2011 - 17:28

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.

Git Presentation at Brighton Area Drupal Group martin Sun, 05/08/2011 - 22:22

On 9 May 2011 I will be presenting the basics of Git to the Brighton Area Drupal Group. I am going to present a set of slides by Scott Chacon who has put together a selection of Git resources.

Drupal, Flickr and a photo gallery part 3 altering the node edit form

Submitted by martin on Sun, 05/08/2011 - 07:44

In parts one and two I described the problem and how to set up the flickr module and a content type which make the member's gallery page.

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.

Problem with Drupal's pager_query() martin Mon, 05/02/2011 - 09:49

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: