Chapter 12. Practical Example #1: Using Views to Enhance a Layout
By now, we’ve had a chance to look at sketching and wireframing designs, creating style tiles and layouts to explore design directions, and different options for prototyping and iterating on those designs. So what happens when you’re dealing with a design that’s already been created, and you’re getting ready to put it into Drupal? Understanding how Drupal stitches pages together can help you find the holes in implementation, and even help you improve the original layout. As an example, let’s take this single event page created by Tricia for the Urban Homesteaders Unite site, as shown in Figure 12-1.

Figure 12-1. Original design comp for an individual event page on Brooklyn Homesteaders Unite
The original layout for this page, created before the project was going to be built in Drupal, was inspired by the way that Eventbrite.com displays events. At first glance, this page would be pretty easy to build in Drupal.
But what if we could make it even better?
To do that, we need to consider a couple of things based on the overall vision for the site (a way to get urban homesteaders together for different events), and the way that Drupal will be organizing the site’s content:
Each event is created by a user of the site who is also the host of the event.
Each user will have their own profile, with contact information, a brief bio, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access