Heya sirkitree. I've made a content type called an "Excerpt". It has one field, an mp3 field from the mp3player module. I then have a content type called "Showdown", which has two distinct nodereference fields, "Contestant 1" and "Contestant 2". They reference "Excerpt" nodes. The "Showdown" content type has the smackdown checkbox checked. Looking at a Showdown node, I see the two contentant nodes that are being refrerenced, along with their links, but nothing else. Screenshot attached.

The smackdown.js is being loaded and Drupal.settings is bountifully populated. What should be happening? What am I missing?

CommentFileSizeAuthor
smackdown.jpg74.08 KBrobertdouglass

Comments

sirkitree’s picture

Smackdown ships with a default formatter which should be used for the default js.
Only local images are allowed.

This formatter is tied to a theme function which can then be overridden. @see theme_smackdown_formatter_smackdown().

With the formatter selected, the js simply looks for an anchor tag within the field (usually the title) and attaches the voting action to it. You can see this here with my test smackdown, using Visual Event (http://www.sprymedia.co.uk/article/Visual+Event)
Only local images are allowed.

robertdouglass’s picture

Status: Active » Fixed

Ah, so in the normal case, the title gets that click handler. Got it. I tried - clicked the title, and Lang Lang got smacked down! Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.