I think this module has a great potential. Some minor improvements can make it better. For example:
- Alhtough i define a body title, the body doesn't show up in the smackdown creation page.
- Dropdown list of content types displays machine-readable type names rather than human readable type labels.
- Ability to select the content fields to be displayed in smackdown. For example, when comparing movies, only posters (image fields) should be displayed.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | smackdown_body_207346.diff | 1008 bytes | sirkitree |
| #2 | smackdown_human-readable-content-type_207346.diff | 664 bytes | sirkitree |
Comments
Comment #1
sirkitree commentedThis content type, being defined by hook_node_info() and then manipulated with hook_form(), has the title automatically set to the first node reference's title 'vs.' the second node reference's title in hook_submit(). I'm open to suggestion on how to deal with this better.
I like the idea of content types giving the human readable labels and will implement.
Your third feature request sounds great too, but I'm not sure how to implement this either. Currently you can do this on the theme layer once you go to theme the node.
Comment #2
sirkitree commentedHere's the patch for putting in human readable labels for the content type dropdown.
Comment #3
drupaloSa commentedThanks for the quick patch.
Sorry, i don't understand much about this "hook" issue, but i suppose you're saying that the content body won't be displayed whether or not i disable it, right?
Do you mean the contemplate module?
Comment #4
sirkitree commentedMaybe I'm misunderstanding what you're trying to do here. Can you please elaborate what you mean by content body? Are you trying to add cck fields to the smackdown content type?
As for the theme layer, I was referring to contemplate module, per say... but you could use that to manipulate it, yes.
Comment #5
drupaloSa commentedWhen you go to admin->content types->smackdown, you'll see
Here i write "body" or "description" to the textbox. But when creating a smackdown, body field doesn't appear.
Comment #6
sirkitree commentedOh ok.
I didn't envision a need for the body for this.
Here's a patch that will add it in.
Comment #7
drupaloSa commentedThanks again :)
Comment #8
sirkitree commentedComment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.