Drupal:drush
From EWBTechies Wiki
Contents |
[edit] Drush and Voting
[edit] Story
Since you are an uber nerd you want to do all these updates via the command line.. and you heard that this thing called "drush" will bring yout here
[edit] Goal
- Learn how to use drush in dayto day drupal development
[edit] Reference Material
[edit] Instructions
- Install drush in your command line
- Using drush and the command line, enable and install the fivestar rating module and voting api module
- drush dl fivestar votingapi
- drush enable fivestar
- Allow all users to rate
- Configure the geek content type so it can be ratable
- In the recent-content-sidebar-block, display the numeric average of each displayed content
- in the view, add a relationship Node: Vote Results
- add the field from Vote Results ( don't make it clickable from the view)
- You may need to tweek the parameters of the relationship to make sure you are not seeing duplicates
- Using drush and the command line, update your feature's code and commit it in to the repository
- drush features update geek
- type svn diff and see the file changes and now commit to the repo

