Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sirkitree/smackdown
Clone of the Drupal module from http://drupal.org/project/smackdown
https://github.com/sirkitree/smackdown
Last synced: 3 days ago
JSON representation
Clone of the Drupal module from http://drupal.org/project/smackdown
- Host: GitHub
- URL: https://github.com/sirkitree/smackdown
- Owner: sirkitree
- Created: 2012-08-14T00:57:01.000Z (over 12 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2012-11-03T19:40:47.000Z (about 12 years ago)
- Last Synced: 2024-04-14T14:52:04.059Z (10 months ago)
- Language: PHP
- Homepage: http://simplytest.me/project/smackdown
- Size: 256 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
_________ __ .___
/ _____/ _____ _____ ____ | | __ __| _/______ _ ______
\_____ \ / \\__ \ _/ ___\| |/ // __ |/ _ \ \/ \/ / \
/ \ Y Y \/ __ \\ \___| /_/ ( <_> ) / | \
/_______ /__|_| (____ /\___ >__|_ \____ |\____/ \/\_/|___| /
\/ \/ \/ \/ \/ \/ \/
```Provides a way to compare two pieces of content to vote upon.
This module is great for websites that value high page views as it allows users to view many pages as they keep clicking that vote button.
# Installation Instructions
1. Download the module & place into your typical contrib module directory.
* Alternatively: `drush dl smackdown`
1. Enable the module at /admin/modules
* Alternatively: `drush en smackdown`
* Note: if you don't already have the references and votingapi modules, this will download those for you. Otherwise you will need to get the dependency modules listed within the .info file.
* Also note that node_reference is contained within the references module.
1. Create a new content type to be your 'smackdown' content type & check the 'Smackdown node' checkbox at the bottom of your edit screen.
1. Create two fields of type 'Node Reference'.
* Note: you will need one or two other content types with which to use as your references.Once these step have been completed, you should be able to create a new smackdown, reference two other nodes during creation, and upon viewing the newly created smackdown node you should be able to click on a node title in order to vote for one or the other. By default this will then redirect you to the voting results tab of your smackdown node.