Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 8 Quick Start Guide

You're reading from   Drupal 8 Quick Start Guide Get up and running with Drupal 8

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781789340310
Length 128 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
J. Ayen Green J. Ayen Green
Author Profile Icon J. Ayen Green
J. Ayen Green
Arrow right icon
View More author details
Toc

Making the changes


Now that we have a plan, let's get busy!

Improving the Frontpage view

Navigate to Structure | Views (/admin/structure/views). Scroll down to the Frontpage view. This is one of the views that comes with Drupal. We could modify it, but it is a good practice to leave the original unchanged and, instead, make a duplicate to modify, which is what we'll do here:

  1. Fromthe drop-down in its row, select Duplicate.
  2. In the View name text box that then appears, change the name to Frontpage - Custom and click Duplicate.
  3. On the View configuration page, we will change the number of items that the view displays. It is currently configured to show 10 items and a pager, but we will change it to show only one. Click Full and select This page (override) from the drop-down. Select the setting for Display a specified number of items, and click Apply (this display).
  4. In the Pager options dialog, change the Items per page to 1, click Apply, and then click Save.
  5. Return to the views list at /admin/structure...
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 €18.99/month. Cancel anytime