Amazon.com is one of a large number of web-based businesses that have opened up their product information databases for other sites to access. In the case of Super Duper Chefs, we want to retrieve useful data like product photos, pricing, and manufacturer information for display on our own website. The Amazon module for Drupal allows us to do just that. In this lesson we'll take a look at the Amazon module, by starting with:
- What’s Included?
- Locale
- Referral settings
- Amazon keys
Additional resources
In a previous lesson in this series, we set up a content type for our product reviews. Now, we’re ready to add a field to store a link to the product on Amazon.com. In this lesson we'll:
- Enable and configure the Amazon module
- Get our Amazon key
- Add the Product Field
Note that Amazon changes the way they manage keys over time, so the way they are generated in the lesson may have changed. Please review the official AWS Product Advertising API documentation for current key generation instructions.
Additional resources
To transform the Product Finder page into a searchable index, we’ll be adding two new filters to the view: one that restricts the results by manufacturer, and another that restricts results to reviews that mention specific words. In this lesson, we'll:
- Add a filter
- Expose a filter
- Set permissions
Additional resources
Drupal 8's out-of-the-box mobile friendliness creates quite the buzz. "Mobile friendly," "responsive," "squishy" — all words to describe the behavior a site invokes on different devices or different screen sizes. Mobile friendly can also mean content first.
Drupalize.Me Podcast Episode 42
Blog postIn this week's episode, 42: Content Delivery Systems (CDNs), Addi is joined by two bots, Joe Shindelar and Ben Chavet, along with Will Hetherington, who is a network consultant for Drupalize
So far in the Mapping with Leaflet series, we've taken advantage of the field formatter provided by the Leaflet module to display a map on a page for a piece of content containing location data. This resulted in a single marker on a map. But what about a map of multiple locations? For this, we'll get to use Views and the Leaflet Views module that is included in the Leaflet project download. We'll also address a common problem of transforming postal addresses into geocoded data that a map can use. For this, we'll look at a solution that integrates Geocoder and Address Field modules. As a bonus, I'll walk you through the process of configuring a Feeds Importer to work with the esoteric and possibly confusing Address Field targets and I'll demonstrate how to import .CSV text file of postal addresses into Address Field, which is then geocoded and displayed on a Leaflet map.
Let's Debug Twig in Drupal 8!
Blog postWhen I am theming a Drupal site, I need to know which variables are available on a template file. In Drupal 8, the template engine is Twig, so we’re going to need to know a little bit of Twig to make this work. So, if Twig is totally new to you, don’t worry. Today, you’ll learn some Twig!
Drupalize.Me Podcast Episode 41
Blog postIn Episode 41, Virtualization with Vagrant, Emma Jane Westby and Erika Heidi chat about creating virtual environments with Vagrant. Through their light-hearted approach to technical topics, we hope Emma and Erika are able to make Vagrant seem a little more accessible, if not downright fun.
The concept of blocks has been around in Drupal since the earliest versions. Chunks of information that can be placed into the regions provided by a theme and re-used throughout your site. The system for defining blocks in code has changed quite a bit for Drupal 8 though so it's worth taking a fresh look at how to create blocks in your own module. Especially since in my experience it's one of the first things we need to know how to do as module developers.
Webinar: Easily Create Maps with Leaflet
Blog postCurious about Leaflet? Join Drupalize.Me Trainer Amber Matz for a live tutorial on how to add Leaflet maps to your Drupal site during this Acquia hosted webinar on May 1, 2014 at 1:00 PM EDT.
Hiding Form Fields in Drupal 8
Blog postIf you have worked with the Field UI in Drupal 7 you will know that you are able to prevent fields from being displayed when viewing entities (e.g. content, users etc).
Dupalize.Me Podcast Episode 40
Blog postEver wonder what it means to host your site in "the cloud"? This week's Drupalize.Me podcast, Drupal in the Cloud, uncovers these mysteries. We discuss: what differentiates cloud providers; what it takes to get Drupal in the cloud; and what the future of cloud computing looks like.
What is Drupal (8)?
Blog postWith the release of Drupal 8 approaching, it’s time again to answer and update the age old question: What is Drupal?
Drupalize.Me Podcast Episode 39
Blog postIf you are looking for good community event ideas, or just want to understand some of what goes into planning an event, check out this week's Drupalize.Me podcast on The Story of the TCD'O
Early Bat Gets Twice the Training
Blog postIn fewer than eight weeks DrupalCon will be upon us. Those registering for Breaking Down Component-Based Web Design before May 2nd will also receive a FREE annual membership from Drupalize.Me.
Heartbleed SSL Bug
Blog postAs you may know, a significant vulnerability in the popular OpenSSL cryptographic software library was discovered this week. Unfortunately this software library is used to encrypt most of the Internet, including the servers on which Drupalize.Me resides. But our team took immediate action to patch this bug, and our servers are no longer vulnerable. The same can be said for our payment processing software, which stores your financial information.
Release Day: Wrapping Up Web Services
Blog postThis week, we're wrapping up Joe Shindelar's latest series Building Web Services with Drupal 7. In these last four videos, you will learn how to use Views to build your API, how to create your own services resource in a custom module, and best practices for how to document your API. Next week, Emma Jane Westby guides you through the process of setting up Vagrant as a local development environment in her series Introduction to Vagrant.
All the power of views made available to your API. Really, what else is there to say? In this lesson Joe walks through installation and basic configuration of the services views module which provides the ability to expose views as resources via the services module.
Additional resources
In addition to using views to expose lists of things via our API we can also take advantage of views exposed filters to allow API consumers more control over the data they are receiving in a request. In this lesson Joe looks at accessing views exposed filters via REST requests by adding an exposed filter to both of the perviously created views and then walking through how the configuration of the view changes the behavior of the filter when used via the services API.