Views can Show that!

21
VIEWS CAN SHOW THAT! DRUPALCAMP CHATTANOOGA 7 NOVEMBER 2015

Transcript of Views can Show that!

Page 1: Views can Show that!

VIEWS CANSHOW THAT!

D R U PA L C A M P C H AT TA N O O G A7 N O V E M B E R 2 0 1 5

Page 2: Views can Show that!

INTRODUCTIONS

Who are YOU?

I am:@AdelleFrank

…and I love DONUTS!

Page 3: Views can Show that!

Views can SHOW that!

PRACTICE: CAN VIEWS SHOW THAT?

Page 4: Views can Show that!

CAN VIEWS SHOW A CALENDAR?

Views can SHOW that!

Page 5: Views can Show that!

CAN VIEWS SHOW A CALENDAR?

Page 6: Views can Show that!

CAN VIEWS SHOW A SLIDESHOW?

Views can SHOW that!

Page 7: Views can Show that!

CAN VIEWS SHOW A SLIDESHOW?

Page 8: Views can Show that!

CAN VIEWS SHOW STAFF PROFILES?

Views can SHOW that!

Page 9: Views can Show that!

CAN VIEWS SHOW STAFF PROFILES?

Page 10: Views can Show that!

CAN VIEWS SHOW FEATURED NEWS?

Views can SHOW that!

Page 11: Views can Show that!

CAN VIEWS SHOW FEATURED NEWS?

Page 12: Views can Show that!

WHAT DO YOU THINK VIEWS CAN SHOW?

Page 13: Views can Show that!

CAN VIEWS SHOW THAT?

Views can SHOW that!

Page 14: Views can Show that!

THE DATABASE AS RESTAURANT

Database = Blogs, Profiles, Reviews: stored in tables.

Restaurant = Many kinds of food,stored and served in different ways.

Page 15: Views can Show that!

RECIPES & FIELDS

Kind of Food = Donut (a recipe)

Ingredients/Characteristics =• dough• shape• filling• topping

Content Type (Entity) = Blog post

Fields =• title• image• tags• date• etc.

Page 16: Views can Show that!

VIEWS IS LIKE A BOX OF … DONUTS

Selection = Case of donuts View = Blog posts tagged as “drupal”

Page 17: Views can Show that!

DONUTS TO BLOGS TO VIEWS

Step Donuts Views

1 Select which Donuts match your market Filters (Contextual) & Access

2 You could also include other kinds of food Relationships

3 Choose a Container Display

4 Organize them in that display case Sort criteria

5 Change all the prices at same time, or remove stale ones

Operations

6 Decide which information and how to advertise/style it

Formats, Fields, View Modes, Page settings, etc.

Page 18: Views can Show that!

Insert Demo here

DEMO

Page 19: Views can Show that!

CAN VIEWS SHOW THAT?

Views can SHOW that!

Page 20: Views can Show that!

• Working with Views in D8 https://www.drupal.org/node/1912118

• http://www.slideshare.net/AcquiaInc/views-minicourse-part-ii-creating-flexible-views-with-drupal-7

• https://drupalwatchdog.com/volume-3/issue-1/views-rewrites

• https://drupalwatchdog.com/volume-1/issue-1/attachments-no-muss-no-fuss-views-upgrade

• https://www.drupal.org/community-initiatives/drupal-core/vdc-roadmap

• https://austin2014.drupal.org/session/viewception-three-levels-deep.html

FOR MORE INFORMATION

Page 21: Views can Show that!

CREDITS

Huge thanks to:

• David Needham for his inspiring Intro to Views presentation at DrupalCon LA https://events.drupal.org/losangeles2015/sessions/views-beginners-drupal-8

• http://www.chenhuijing.com/blog/drupal-101-intro-to-views/

• https://www.acquia.com/blog/totally-beginner-tutorial-views-drupal-7

Slides will be posted to

adellefrank.com