Drupal 7 Views Cookbook

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

Drupal 7 Views Cookbook

J. Ayen Green

Over 50 recipes to master the creation of views using the Drupal Views 3 module
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Drupal 7 Views Cookbook Book Cover
Drupal 7 Views Cookbook
$ 31.99
$ 22.40
Drupal 7 Cookbook Book Cover
Drupal 7 Cookbook
$ 26.99
$ 18.90
Buy 2 for $35.00
Save $23.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

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

Recommended for You

Drupal 7 Module Development Book Cover
Drupal 7 Module Development
$ 26.99
$ 18.90
Drupal 7 Themes Book Cover
Drupal 7 Themes
$ 23.99
$ 16.80
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Drupal 7 Book Cover
Drupal 7
$ 26.99
$ 18.90
Drupal Rules How-to Book Cover
Drupal Rules How-to
$ 12.99
$ 9.10
Drupal 7 Development by Example Beginner’s Guide Book Cover
Drupal 7 Development by Example Beginner’s Guide
$ 29.99
$ 21.00