I wanted ISBNs to display using Book Post's (http://drupal.org/project/bookpost) formatting so I added it as an option to the module. This patch checks for the existence of the bookpost module before adding its functionality to the field.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | isbn.module.patch | 1.77 KB | dworth |
| isbn.module.patch | 1.75 KB | dworth |
Comments
Comment #1
dworth commentedoops, regrettably already found a small bug in this implementation. Fixed (trivially) in attached patch (which replaces the originally posted one). Also fixed formatting in old version (tabs were bad, sorry about that)
Comment #2
jon pughThis should really be added to the Book Post module instead, as an additional CCK display handler for the ISBN Field.
Comment #3
dworth commentedCool, I will look into that... it sure felt kinda funny in this direction!
Comment #4
Matthew Davidson commentedI've also got an ISBN field formatter in the OpenLibrary API package, which is a more complete and abstracted interface to the OpenLibrary.org RESTful API.
Comment #5
jon pughFantastic!
I'll add a link to your module to the field module's page.
dworth: Go ahead and update this ticket once the bookpost module supports this fieldtype and I'll add a link to that module as well.