Book challenge module at Eharlequin

This is one of my first drupal modules, built in November 2007, that used actions and workflows to automatically create a main block and a users block whenever a challenge was created.

The data structure is that there is a challenge node type. Then there is a book review node type that node references the challenge. Thus a count can be generated of all the book reviews created for that challenge, as well as all the book reviews for each use for that challenge.

The main challenge block counted the total number of book reviews for that challenge.

The user challenge block appeared on the users profile page, and would automatically display the number of reviews for the current challenge.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h2> <h3> <img> <hr>
  • Lines and paragraphs break automatically.

More information about formatting options