Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In order to use the Discography Framework with other API's besides Discogs.com, or other entities besides the Release Node, you will need to develop your own module that plugs in to the Discography Framework. This project is designed to make it as easy as possible to do so; all you need to do is to implement a small number of hooks.
This section describes the various parts of the framework, their purposes, and the modules that implement them.
Discography Entities and Fields
Within Drupal, discography information is saved inside an entity type. Usually, that entity is a node type, but it could be a custom entity type, or a system of related node types (like Pushtape Discography), and it can have different kinds of fields.
The Discography Framework provides one field, and two node types:
Track Field: This is a field that holds information about a single track. You can add this field to any content type (such as an audio node). In addition to the multiple built-in formatters and widgets, the field is fully themeable using a template.
Both the Release Node and Track Node modules are dependent upon the Track Field module.
Track Node: This is provided for sites that focus on tracks, rather than albums or releases. It is essentially a node wrapper for a single instance of a Track Field. Of course, site administrators can also add whatever fields they want through the Fields UI, just like any other node type.
Release Node: This node type handles information for a single discography release. It is probably the most important part of the framework, from the user's perspective.
ClickBank Downloads validates purchases on payment
processor ClickBank, and provides a "secure" file download link. See the project page for a full write up.
Currently, this project is in the process of review for full project status, therefore you'll need to git clone it in order to use it.
Getting Started
These instructions assume you have already created and uploaded your product information to a ClickBank Account.