Mastering Drupal 8 Views

1y ago
5 Views
1 Downloads
2.69 MB
56 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Vicente Bone
Transcription

Mastering Drupal 8 Views Gregg Marshall Amanda Marshall http://bit.ly/D8Views

Today

About Gregg Digital Technology Developer Manager (Drupal Architect) drupal.org since 2006 1st DrupalCon 2010 San Francisco

About Amanda BS Business, CU Denver Graduate certificate energy & sustainability, DU Drupaleasy Academy graduate drupal.org since 2008 1st DrupalCon 2017 Baltimore Intern on a UN humanitarian response Drupal site Looking for 1st Drupal developer job Aided by Jackson

Disclaimer All content provided in this presentation is my personal opinion and for informational purposes only. I am speaking for myself. I am not presenting as a representative of my employers. Neither my employers nor I make any representation regarding, and assumes no responsibility or liability for, the accuracy or completeness of, or any errors or omissions in, any information contained herein.

What is Views? Views Views module (before D8 http://drupal.org/project/views) Creates dynamic lists A “report writer” View a single list

Why Views? 5 Most recent blog posts block Manual Add blog post Edit block with title and link Automatic (aka Views) Add blog post Block updates

Views is in Drupal 8 Core Views was #1 Drupal 7 contributed module D7 required Views and CTools contributed modules Front page and many Drupal administration pages are now views

Drupal 8 Views Examples Front Page

Drupal 8 Views Examples Content List

Drupal 8 Views Examples Files View

Drupal 8 Views Examples Who’s Online

Drupal 8 Views Examples People List

Components of a View Base / View Type Display Format Display type Filter Sort

A Quick Overview View Edit Screen

Quick Overview View Edit Screen Left Column

Quick Overview View Edit Screen Center Column

Quick Overview View Edit Screen Right Column

Editing an Existing View Content List

Editing an Existing View Desired Result

Later that day

Editing an Existing View Views Listing Page

Edit Screen

Editing an Existing View Edit Screen

Why Views – Structured Content Drupal 7 added Fields before D7, CCK module added Fields Relationships D7 Entity Reference module (Node Reference module) Text, Number, Boolean, File, Image, Reference Contributed – e.g. Geolocation

Example Data Structure Real Estate Agency website Owner (Realtor) Property Label Property Address 2 Property Asking Price Property City Property County Property Description Machine name field property address 2 field property asking price field property city field property county body Property Featured Property Featured Image Property Geolocation Property Image Gallery Property Listed Date Property Neighborhood field property featured field property featured image field property geolocation field property image gallery field property listed date field property neighborhood Property Number Bathrooms Property Number Bedrooms Property Owners field property number bathroom s field property number bedrooms Property PDF Listing Property Realtors Property Square Footage Property State Property Status Property Zip field property pdf listing field property realtors field property square footage field property state field property status field property zip field property owners Field type Text (plain) Number (decimal) Text (plain) Entity reference (County) Text (formatted, long, with summary) Boolean Image Geolocation Image Date Entity reference (Neighborhood) List (text) Number (integer) Entity reference (Property Owner) File Entity reference (Realtor) Number (integer) Text (plain) List (text) Text (plain) Label Owner Owner Owner Owner Owner Owner Owner Owner Owner Owner Address 1 Address 2 City Company Email First Name Last Name Phone State Zip Machine name field owner address 1 field owner address 2 field owner city field owner company field owner email field owner first name field owner last name field owner phone field owner state field owner zip Field type Text (plain) Text (plain) Text (plain) Text (plain) Email Text (plain) Text (plain) Telephone number Text (plain) Text (plain) Open House Label Notes Machine name body Open House End Open House Property Reference Open House Start field open house end Field type Text (formatted, long, with summary) Date field open house property refere Entity reference (Property) field open house start Date

Real Estate Relationships

Creating a New View Wizard page Expanding form! Not all displays can be created via wizard

Creating a New View

Creating a New View

Creating a New View

Base / View Type Content Content Revisions Comments Log Entries Files Taxonomy Terms Users Custom Blocks Custom Block Revisions (types added by contributed or custom modules)

Displays Page Block Master Attachment Embed Entity Reference Feed REST Export

Format Options Grid HTML List Unformatted List Table Contributed Modules Accordion Slide Show Map

Format Options Have Settings

Fields

Field Settings

Field Rewrites

Field Rewrites Power Tip {% for letter in ‘a' upper.‘m' upper %} * {{ letter }} {% endfor %} * A * B * C * D * E * F * G * H * I * J * K * L * M

Filter Criteria

Exposed Filters

Contextual Filters Filters configured via URL d/City%20Center

Contextual Filters Filters configured via URL

Contextual Filters Filters configured via URL

Sort Criteria

Sort Criteria

Relationships

Relationships

Relationships

Relationships

Front Page

Exposed Filters

Contextual Filter

Infinite Scroll Gallery

Questions? Gregg Marshall gmarshall@vendor-tech.com http://drupal.org/u/greggmarshall Job Offers Amanda Marshall me@amandamarshall.us http://drupal.org/u/amarshall http://bit.ly/D8Views 50% discount eBook, MD8VeB50 20% print, MD8VpB20 Expires May 10, 2017

Views is in Drupal 8 Core Views was #1 Drupal 7 contributed module D7 required Views and CTools contributed modules Front page and many Drupal administration pages are . Property PDF Listing field_property_pdf_listing File Property Realtors field_property_realtors Entity reference (Realtor) Property Square Footage field_property_square .

Related Documents:

How to create custom content to store in your Drupal database using CCK Implementing seo in drupal website Drupal custom theme development (Html to drupal theme development) Drupal 8.0 content management system syllabus 1. Drupal's requirements and how it works: drupal architecture Drupal 8 Basics o How Drupal began o What is Drupal 8

guided migration from Drupal 6 or 7 to Drupal 8. Assisted upgrades to Drupal 8 can now be done, much more easily than they used to be able to earlier. Three modules were added in order to facilitate the custom migrations as well as the Drupal 6 or Drupal 7 to Drupal 8 migrations: Migrate Migrate Drupal Migrate Drupal UI Chapter 2

Chapter 1: Developing for Drupal 8. 7. Introducing Drupal (for developers) 8. Developing for Drupal 8. 8. Technologies that drive Drupal. 9 PHP 10 Databases and MySQL 10 The web server 11 HTML, CSS, and JavaScript 11. Drupal architecture. 11 Drupal core, modules, and themes 11 Hooks, plugins, and events 12 Services and the dependency injection .

Customer Identity and Access Management in a global Drupal setup Drupal Business Days, Frankfurt, 19.05.17. . Sponsor of multiple Drupal camps and European Drupal Business Days Active community work through contributions . Document and assign all tasks. Solutions. Be bold. Solutions. Get into the lead.

This is a free introductory course for people who are curious about Drupal, and want to find out more. Your Drupal guide will help you get up to speed with Drupal more quickly than if you tried on your own. First youʼll find out about your Drupal Guide delivering the Hello Drupal tour, and also learn about the other people in the room with you.

serez invité à choisir la version de Drupal à télécharger. Je recommande de sélectionner le dernier. Ainsi, lorsque Drupal est téléchargé, vous devez l'installer. drupal site:install Après quelques étapes simples, votre site Drupal sera prêt. Avec cette méthodologie, une nouvelle installation de Drupal nous prend entre 5 et 7 .

AJAX Framework & drag-and-drop systems in Drupal 6! File & Image modules in Drupal 7! Dialog system & CKEditor in Drupal 8 First core patch included in 7.14 release! Drupal core usability team member, D7 & D8! Twig initiative lead, Drupal 8 (2011 - 2013) Core Contributors who are we to judge? Nate Jen

Advanced Engineering Mathematics 1. First-order ODEs 25 Problems of Section 1.3. The differential equation becomes Advanced Engineering Mathematics 1. First-order ODEs 26 1.4 Exact differential equations Now we want to consider a DE as That is, M(x,y)dx N(x,y)dy 0. The solving principle can be