Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300674

Block view display does not show up on blocks page.

$
0
0

Problem/Motivation

I was teaching @mhenley about views in Drupal 8. We decided to make a block view, and, when we had set it up, it did not show up in the blocks list.

Steps to reproduce:

  1. Install Drupal core 8.x (on revision bf971a) on a fresh site install with the Standard install profile.
  2. Create an Event content type. Add a new Date field and the existing Body field.
  3. Add a piece of event content.
  4. Go to Structure -> Views -> Add new view. Add a View name, no description, Show Content of type Event sorted by Newest First. Check "Create a page", default title, path, Display format: Table of fields (leave default items, pager, etc.). Check "Create a block", default block title, Display format HTML list of titles (linked). (leave default items per page, pager). Click "Save and edit".
  5. On the full View edit page, in the Page display, add two new fields, "Event date" and "Body". Add to "Main navigation" menu.
  6. On the full View edit page, in the Block display, click the "Body" field, at the top, choose "For This block (override)", then click the "Remove" button at the bottom. In the Block settings, edit the Block name to say "Latest 5 events".
  7. Save your changes to this view.
  8. Go to Configuration -> Development -> Performance and click "Clear all Caches".
  9. Go to Structure -> Blocks.

Expected behaviour: I see a "Latest 5 events" block.
Actual behaviour: I don't see a "Latest 5 events" block.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

TBD


Viewing all articles
Browse latest Browse all 300674

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>