Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
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
Gregg Marshall Gregg Marshall
Author Profile Icon Gregg Marshall
Gregg Marshall
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

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 A. Content Types for a Sample Site Index

Doing away with pagers – creating an infinite page


"Okay, Jackson, the evening is still young. Let's try playing with Views Infinite Scroll," said Lynn. She searched on Drupal.org for the module, found it at https://drupal.org/project/views_infinite_scroll, and copied the .gz file link URL. Lynn used Drupal's built-in module installer to add it to her site. She then enabled the module and navigated to the Views listing page again. "I should bookmark this page—I spend so much time here."

As an experiment, she decided to use the Available Property Listing view that she had used so often. She clicked on Edit, and on the view edit screen, she made sure she was on the Page display at the top. She clicked the Duplicate Page button on the right and changed the name of the display to Infinite Scroll.

Since she was changing the pager, she presumed the module added some new options to the PAGER settings, so she clicked on Full, next to Use pager. The resulting modal looked like this:

Selecting Infinite...

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 $19.99/month. Cancel anytime
Banner background image