Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Views! Huh? What is it good for?

Views! Huh? What is it good for?

Slides from my presentation at Twin Cities DrupalCamp 2012 for a presentation about the Views module. An introduction to what views is, why you would want to use it, when, and how to get started building your first views.

eojthebrave

May 19, 2012
Tweet

More Decks by eojthebrave

Other Decks in Technology

Transcript

  1. All websites are made of lists of content. users photos

    files comments lists Saturday, May 19, 12
  2. Drupal is really good at content but lacks advanced features

    for creating lists. Saturday, May 19, 12
  3. SELECT DATE_FORMAT((FROM_UNIXTIME(node.created) + INTERVAL -14400 SECOND), '%Y%m') AS created_year_month, COUNT(node.nid)

    AS num_records FROM node node LEFT JOIN node_revisions node_revisions ON node.vid = node_revisions.vid LEFT JOIN users users_node_revisions ON node_revisions.uid = users_node_revisions.uid WHERE node.status <> 0 GROUP BY created_year_month ORDE ... blah blah blah, blah blah ... Saturday, May 19, 12
  4. Default Display Fields Filters Sorts Context Filters Relationships Base Table

    (node, user, comment) Page Display Fields Filters Sorts Context Filters Relationships Page-specific settings Saturday, May 19, 12
  5. Default Display Fields Filters Sorts Context Filters Relationships Base Table

    (node, user, comment) Block Display Fields Filters Sorts Context Filters Relationships Block-specific settings Saturday, May 19, 12
  6. Base Table (node, user, comment) Display Fields Filters Sorts Context

    Filters Relationships Output Style (List, Table, Grid) Saturday, May 19, 12
  7. Some Additional Modules Calendar Views Bulk Operations (VBO) Location jCarousel

    You know, like the one on the wall in your kitchen. Make a list and then perform an operation on all items in the list. Make a list and display items as points on map. Make a list and then make it slidey. Saturday, May 19, 12
  8. Some MORE Additional Modules Entity Reference Flag Date Create relationships

    between things. Bookmark, my playlist, favorites, needs moderation ... Additional options for filtering and viewing dates. Saturday, May 19, 12
  9. Views. Huh? What is it good for? Pretty much everything

    ... @eojthebrave Saturday, May 19, 12