Drupal 7 Views Cookbook

Drupal 7 Views Cookbook
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Brand new recipe examples using the all new Views 3 UI
  • A wide variety, including multi-display and programmatic views
  • Easy-to-follow recipes with plenty of screenshots and demonstrations

Book Details

Language : English
Paperback : 218 pages [ 235mm x 191mm ]
Release Date : March 2012
ISBN : 1849514348
ISBN 13 : 9781849514347
Author(s) : J. Ayen Green
Topics and Technologies : All Books, CMS and eCommerce, Cookbooks, Drupal, Open Source, PHP

Table of Contents

Chapter 1: Modifying Default Views
Chapter 2: Basic Custom Views
Chapter 3: Intermediate Custom Views
Chapter 4: Creating Advanced Views
Chapter 5: Intermediate Custom Theming Views
Chapter 6: Creating Views Programmatically
Chapter 7: Views Administration
Appendix A: Installing Views
Appendix B: Entity Types and Fields
  • Chapter 1: Modifying Default Views
    • Introduction
    • Selecting recent comments for a specific node type
    • Focusing on the Archive view
    • Filtering the backlinks
    • Changing the Frontpage view
    • Selecting the Glossary view entries for a specific user
    • Creating an Attached Menu for the Taxonomy Term view
    • Reporting Tracker activity for a certain user role
    • Chapter 2: Basic Custom Views
      • Introduction
      • Selecting all the nodes
      • 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 administrators
      • Winning that argument
      • Using views to create a bulleted list
      • Creating bulleted lists using multiple content types
      • Chapter 3: Intermediate Custom Views
        • Introduction
        • Selecting node teasers based on types and contents
        • Displaying a table of entity fields
        • Sortable table with a header and footer
        • Using AJAX for page changes
        • Understanding relationships
        • Grouping in a query
        • Nodes within nodes
        • Producing custom links
        • Proving a negative with a filter and an argument
        • Chapter 4: Creating Advanced Views
          • Introduction
          • Creating a view with multiple personalities
          • Marketing bundle
          • Filtering with 'or'
          • Forming a dashboard with Page, Block, and Attachment displays
          • Teaming two content lists
          • Using related content: Adding depth to a term ID
          • Using related content: Adding depth to a term
          • Limiting visibility of content
          • Chapter 5: Intermediate Custom Theming Views
            • Introduction
            • Changing the page template
            • Creating and naming a view 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
            • Image styles
                  • Appendix B: Entity Types and Fields
                    • Creating content type: Country
                    • Creating content type: Course
                    • Creating content type: Department
                    • Creating content type: Employee
                    • Creating content type: Extension
                    • Creating image style: Exhibit
                    • Creating image style: Exhibit_teaser
                    • Creating image style: Exhibit_block
                    • Creating content type: Gallery
                    • Creating content type: Home
                    • Creating content type: Ingredient
                    • Creating content type: Product
                    • Creating content type: Real Estate flier
                    • Creating content type: Sponsor
                    • Creating taxonomy tags

                    J. Ayen Green

                    J. Ayen Green has developed software since inventing the abacus, created websites since [insert name du jour] created the Web, and has been a Drupaler somewhat longer than his current D.O. uid (you try settling on an id when your real name is Dries Webchick). A writer and columnist of sorts, a poet of metered sorts, husband, father, friend and rascal, when not plugged in Green enjoys nature, dogs, horses and other critters, kayaking, zip-lining, spicy food, the arts and other cultures. He and his wife, Sofía-Aileen, make their home in New York City.
                    Sorry, we don't have any reviews for this title yet.

                    Code Downloads

                    Download the code and support files for this book.

                    Submit Errata

                    Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                    Sample chapters

                    You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                    Frequently bought together

                    Drupal 7 Views Cookbook +    Appcelerator Titanium Business Application Development Cookbook =
                    50% Off
                    the second eBook
                    Price for both: $37.50

                    Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                    What you will learn from this book

                    • 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

                    In Detail

                    The Drupal content management system is purposely created with a ‘light footprint,’ leaving it to the user or developer to add wanted features. Views is the #1 add-on module for Drupal and enables you to filter, select and present your content in ways that are more meaningful to your site visitors.

                    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 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 using multiple displays. Along the way there are recipes for theming views, creating a programmatic view and a view handler, administering views, and finally, using some other modules related to the Views module. Recipes are standalone, so pick them in any order!

                    Don’t limit your site with dull content presentation. Empower your site visitors with the recipes that Drupal 7 Views Cookbook delivers!


                    This is a cookbook containing plenty of easy-to-follow practical recipes with screenshots that will help you in mastering the Drupal Views module.

                    Who this book is for

                    Drupal 7 Views Cookbook is for developers or technically proficient users who are fairly comfortable with the concepts behind websites and the Drupal environment.

                    Code Download and Errata
                    Packt Anytime, Anywhere
                    Register Books
                    Print Upgrades
                    eBook Downloads
                    Video Support
                    Contact Us
                    Awards Voting Nominations Previous Winners
                    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software