Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Drupal 8 Views

You're reading from   Mastering Drupal 8 Views Build sophisticated displays of your Drupal content, all without programming

Arrow left icon
Product type Paperback
Published in May 2016
Publisher
ISBN-13 9781785886966
Length 272 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
 Marshall Marshall
Author Profile Icon Marshall
Marshall
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Mastering Drupal 8 Views
Credits
Foreword
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Preface
1. Up and Running with Views FREE CHAPTER 2. Views from Scratch 3. Sorting and Filtering 4. Contextual Filters 5. Relationships 6. Add-on Modules 7. Field Rewrites 8. Customizing Views 9. Advanced View Settings 10. Theming Views Content Types for a Sample Site Index

Summary


Views' ability to rewrite results is one of its most powerful features. Almost any output format can be created in a results rewrite. We started by showing how you can configure a richly formatted link to any content or external site. Then, we did a simple rewrite of content to make the open house display look better, followed by a more complex rewrite to add more information to the property map. Finally, we looked at how to do a conditional rewriting of a value to allow an if-then-else like logic.

In the next chapter, we'll cover the rest of the options in the center column of the view edit page. Custom headers, footers, and special messages if a set of filters (defined, exposed, or contextual) results in no results. Finally, while we looked at the Views pager a little during Chapter 6, Add-on Modules, when we switched to the infinite scroll module, there are various ways of dealing with a larger number of results, such as a view all link or using the powerful pager built into views...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images