Case studies can provide a much needed context when learning a new concept or technology. Each learning series based on the book Using Drupal, 2nd edition outlines a case study that our trainer, Addison Berry, uses to provide something akin to client requirements for a Drupal 7 site build. Our latest series, Using Drupal Chapter 6: Event Management, features a local book club that wants to provide an events calendar and list of upcoming events on their Drupal 7 website.
In these five lessons wrapping up Chapter 5: Product Reviews, Addison Berry covers how to make your product reviews findable with Drupal's Search module as well as exposed filters in Views.
Drupal’s built-in Search module offers powerful, flexible searching features and intelligent ranking of results. Behind the scenes, it’s silently building an index of all the words used in the site’s content. In this lesson we'll:
- Review the Search module settings
- Explain the importance of cron
- Discuss searching with Views
Additional resources
We’re almost done! The only problem with our view now is that clicking the titles in the view links to Amazon.com instead of to our own website. Fortunately, Views provides a handy trick for just this sort of situation; we can “rewrite” the output of the Title field to create a link back to its referring node instead. In this lesson, we'll:
- Exclude a field from display
- Rewrite the output of a field
Additional resources
You've built the site that Bob and Sarah need to get their reviews going, but as always, there are ways to add more neat features. In this lesson, we'll look at a few modules you can look at adding down the road
- AdSense
- Display Suite
- Blog (core)
- Recipe
Additional resources
We’ve hit all of the major pieces of functionality that Bob and Sarah wanted. In this summary, we'll:
- Tour the Super Duper Chefs site
- Discuss our implementation points
- Review modules and resources
Additional resources
I thought that for my newest blog post I would try something different, and something I have been asked to do in the past, a video tutorial of a Drupal 8 inspired illustration.
Drupalize.Me Podcast Episode 43
Blog postIn this week's episode, 43: Web Services, Addison Berry along with Lullabots Sally Young and Joe Shindelar discuss the Services module for Drupal.
This week, we've got five shiny new videos in Addison Berry's series, Using Drupal Chapter 5: Product Reviews. If you've been following along, in this series we're building a website containing product reviews using Drupal 7. So far, we've reviewed the case study and site requirements and added the Amazon module so we can integrate data from amazon.com into our Drupal site. Now it's time to add ratings using the Voting API and Fivestar modules and add simple yet useful style to our product reviews using the CSS Injector module, a CSS styling tool for site builders. If you're new to building sites in Drupal 7, this, along with rest of the Using Drupal video collection are a great way to jumpstart your way to becoming a Drupal site building rockstar.
For the Super Duper Chefs site, we’ll be using both of the Fivestar module’s unique features: adding a static Rating field to the “Product review” content type for the editors to use, and attaching a voting widget to the comment form on each review for the site readers to use. That approach will keep the official rating on each review separate from the reader ratings. In this lesson we'll:
- Add the Product Rating Field
- Add the Reader Rating Field
Additional resources
Giving visitors a chance to evaluate and rate content is an extremely common pattern on content-rich websites. In addition to giving visitors a way to jump to the best content, it can give you a way to determine what content on your site is most effective. In this lesson we'll discuss:
- Voting API module
- Fivestar module
Additional resources
Drupal’s theming system gives designers complete control over how a site’s content is rendered for a web browser, and custom themes can give any site a distinctive look. But sometimes it’s useful to make minor tweaks to a site’s appearance using nothing but CSS rules. They allow designers to tweak font sizes, colors, and so on without altering the underlying HTML that defines the site’s structure. In this lesson we'll look at:
- CSS Injector module
- Explain how this works
Additional resources
Although our “Product review” content type has all of the data we need, the individual reviews still look a bit untidy. In this lesson, we’ll do some final tweaking to make the review display look nice and tidy.
- Setting Field Display Options
- Configuring CSS Injector
Additional resources
Now that we have a few products, we really ought to add a listing page that lets visitors look over all of the products that have been reviewed, comparing official ratings with visitor ratings and sorting by various criteria. This is a perfect job for Views. In this lesson:
- Create a Product Finder view
- Display Amazon information
- Display voting results
Additional resources
A Guide to Drupal 8 at DrupalCon Austin
Blog postDrupalCon Austin is rapidly approaching and the big question on my mind is: What Drupal 8 sessions do I need to put on my radar? To figure that out, I've mined the schedule for Drupal 8 related talks and events and organized them a bit to help me – and hopefully you – find the Drupal 8 sessions not to be missed.
With so much information, and so many products, on the web today, people often want to get an opinion to help rank and rate things. Should I buy this widget? Should I watch this movie? In this series, we’re going to use a handful of Drupal modules to build a product review website that lets community members give their opinions, along with a way to rate their review as well. To kick things off, in this lesson we will:
- Review the Super Duper Chefs case study
- Discuss our implementation
Additional resources
In this week's release, we kick-off a new video learning series, Using Drupal Chapter 5: Product Reviews.
To get started, we'll need to create a content type to use for our product reviews. Based on the Super Duper Chefs requirements, in this lesson we'll:
- Create the Product Review Content Type
- Add a Field group
- Set permissions