Drupal 7 Views Cookbook

Over 50 recipes to master the creation of views using the Drupal Views 3 module

Drupal 7 Views Cookbook

Cookbook
J. Ayen Green

Over 50 recipes to master the creation of views using the Drupal Views 3 module
$31.99
$39.99
RRP $31.99
RRP $39.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2016

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781849514347
Paperback218 pages

Book Description

Fully revised and updated for 2016, Drupal 7 Views Cookbook allows you to bypass most of the Views' learning curve and quickly take advantage of the capabilities of the Views module to select and present your Drupal content through step-by-step instructions for quickly developing dozens of useful views.

Starting with a brief introduction to Views, Drupal 7 Views Cookbook takes you through recipes for elementary views, such as displaying randomly selected content, to intermediate views, such as customizing links, to advanced views providing multiple interacting displaysof content on the same page. Along the way, there are recipes for theming views, creating a view in your code, creating a custom view handler, administering views, and finally, using some other modules related to the Views module. Most recipes are standalone, so pick them in any order!

Don't limit your site with dull presentation of content in last-in-first-out order. Empower your site visitors with the recipes that Drupal 7 Views Cookbook delivers!

Table of Contents

Chapter 1: Modifying Default Views
Introduction
Selecting recent comments for a specific node type
Focusing the archive view
Changing the front page view
Selecting the glossary view entries for a specific user
Creating an attached menu for the taxonomy term view
Reporting a tracker activity for a certain user role
Chapter 2: Basic Custom Views
Introduction
Selecting all content
Creating a paged block display
Creating a dynamic links display block
Creating a random ad block
Using a view content filter
Providing a user view for admins
Winning the argument
Using views to create a bulleted list
Creating bulleted lists using multiple content types
Chapter 3: Intermediate Custom Views
Introduction
Selecting content teasers based on type and contents
Displaying a table of entity fields
Sortable table with a header and footer
Changing pages the AJAX way
Understanding relationships
Grouping in a query
Content within content
Producing custom links
Proving a negative with a filter and an argument
Chapter 4: Creating Advanced Views
Introduction
A view with multiple personalities
A marketing bundle
Filtering with OR
Page, block, and attachment
Teaming two content lists
Related content – adding depth to a term ID
Related content – adding depth to a term
Limited visibility
Chapter 5: Theming Views
Introduction
Changing the page template
Creating and naming a views template
Theming a field
Theming a grid
Theming a table
Theming a row
Theming rows
Theming an RSS feed
Theming a block
Theming a view page
Theming multiple displays
Chapter 6: Programmatic Views
Introduction
Coding a view
Handling a view field
Styling a view field
Fine-tuning the query
Chapter 7: But Wait – There's More
Introduction
Exporting a view
Importing a view
Bulk exporting views
Cloning a view
"Featurizing" a view
Using image styles
Making a view perkier
Revealing a recipe's ingredients

What You Will Learn

  • Present menu choices for categorized subsets of your content
  • Create blocks containing interesting lists or randomly selected images
  • Link multiple content types to provide more complete information
  • Display complementary content in additional displays
  • Design a desktop-like page driven by user input
  • Deliver a view from inside a custom module
  • Manipulate the templates to add pizzazz to your views
  • Administer your views with confidence

Authors

Table of Contents

Chapter 1: Modifying Default Views
Introduction
Selecting recent comments for a specific node type
Focusing the archive view
Changing the front page view
Selecting the glossary view entries for a specific user
Creating an attached menu for the taxonomy term view
Reporting a tracker activity for a certain user role
Chapter 2: Basic Custom Views
Introduction
Selecting all content
Creating a paged block display
Creating a dynamic links display block
Creating a random ad block
Using a view content filter
Providing a user view for admins
Winning the argument
Using views to create a bulleted list
Creating bulleted lists using multiple content types
Chapter 3: Intermediate Custom Views
Introduction
Selecting content teasers based on type and contents
Displaying a table of entity fields
Sortable table with a header and footer
Changing pages the AJAX way
Understanding relationships
Grouping in a query
Content within content
Producing custom links
Proving a negative with a filter and an argument
Chapter 4: Creating Advanced Views
Introduction
A view with multiple personalities
A marketing bundle
Filtering with OR
Page, block, and attachment
Teaming two content lists
Related content – adding depth to a term ID
Related content – adding depth to a term
Limited visibility
Chapter 5: Theming Views
Introduction
Changing the page template
Creating and naming a views template
Theming a field
Theming a grid
Theming a table
Theming a row
Theming rows
Theming an RSS feed
Theming a block
Theming a view page
Theming multiple displays
Chapter 6: Programmatic Views
Introduction
Coding a view
Handling a view field
Styling a view field
Fine-tuning the query
Chapter 7: But Wait – There's More
Introduction
Exporting a view
Importing a view
Bulk exporting views
Cloning a view
"Featurizing" a view
Using image styles
Making a view perkier
Revealing a recipe's ingredients

Book Details

ISBN 139781849514347
Paperback218 pages
Read More

Read More Reviews