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
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

Showing the Watchdog logs

That weekend, Lynn finally had time for Jim's homework. She decided that a block showing the five most recent errors would be available for everyone who could log in. At the bottom of this block would be a See more link to go to a page that showed all the page not found errors in a table format.

Adding the Views

Again starting at the Views listing page (Manage | Structure | Views), Lynn clicked on the Add new view button. She then completed the following fields:

  • View name: Page Not Found Errors
  • Description: field checked with text Display URLs of page not found errors from the Drupal Watchdog log
  • VIEW SETTINGS Show: Log entries
  • Sorted by: Newest first
  • PAGE SETTINGS Create a page: field checked
  • Page title: Page Not Found Errors
  • Path: administration/page-not-found-errors
  • PAGE DISPLAY SETTINGS Display format: Table of fields
  • Items to display: 25
  • Use a pager: field checked
  • Create a menu link: field unchecked
  • Include an RSS feed: field unchecked
  • BLOCK SETTINGS Create a block...
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 £16.99/month. Cancel anytime