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

May
08

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.

Posted By martin read more

Problem with Drupal's pager_query()

May
02

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:

Posted By martin read more

Drupal, Flickr and a photo gallery part 2

Apr
27

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.

Posted By martin read more

A great reason not to buy proprietary systems

Apr
20

The Guardian reports that the iPhone keeps a record of everywhere you go. Your location is regularly recorded into a file which is then transfered to your computer when the phone is synced. I am so glad I chose an Android phone. With Android I can be sure that the phone isn't doing this type of thing becuase the code is open source and someone would have found functionality like this long ago.

Posted By martin read more

Drupal, Flickr and a photo gallery part 1

Apr
19

This is part one of a series of posts about how to allow site members to create a photo gallery which contains photos from a Flickr photoset. The tricky bit was making it very easy for site members to create a gallery.

Posted By martin read more

Pages

Subscribe to Martin's Margin RSS