Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The block layout page no longer lists all available blocks. Blocks are added via the 'Place block' button for each region. This is not intuitive for some users.
Proposed resolution
TBD
Remaining tasks
TBD
User interface changes
TBD
API changes
TBD
Related Issues
TBD
Comment | File | Size | Author |
---|---|---|---|
#26 | place_block.png | 137.23 KB | kajalkiran |
#26 | place_block_to_region.png | 50.59 KB | kajalkiran |
Comments
Comment #1
gcassie CreditAttribution: gcassie commentedConfirmed the STR. Also tried enabling the default Archive view which provides a block display - that didn't appear in the admin block interface either.
Comment #2
gcassie CreditAttribution: gcassie commentedThe views blocks do show up if you click the "Place blocks" link, but I'd expect they're supposed to be in the disabled block listing on /admin/structure/block by default.
If you disable the block after placing it, it does persist in the /admin/structure/block listing.
Comment #3
gcassie CreditAttribution: gcassie commentedSomething is wrong with the machine names of the view-generated blocks. They're empty in the "Place blocks" screen and you're forced to specify one. I tried editing the block display of a view whose block I hadn't saved yet and just re-saving the default value in that form, block_1 . Now I'm getting this:
Debug:
'setDisplay() called with invalid display ID "block_1".'
in Drupal\views\ViewExecutable->setDisplay() (line 682 of core/modules/views/lib/Drupal/views/ViewExecutable.php).
Error message
Drupal\Component\Plugin\Exception\PluginException: The plugin (views_block:events-block_1) did not specify an instance class. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 62 of /Users/george.cassie/Sites/d8/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php)
Comment #4
tim.plunkettThis is not actually a bug. The block UI has changed drastically, and that's how things work right now.
Comment #5
tim.plunkettOkay, so maybe it is a little bit of a usability bug. But for better or worse, it is the current expected behavior.
Comment #6
webchickUnless I'm mistaken, this was fixed with the block UI re-work. Or at least when I tested this yesterday, I did not experience this behaviour.
Comment #7
mparker17Yes, I can confirm this is fixed now.
Comment #8
alensaqe CreditAttribution: alensaqe commentedIssue may still persist.
Checked up today on Drupal 8.x alpha 9 and the block is not generated by the view.
Requesting the issue to be re-opened if the issue persists.
Comment #9
alensaqe CreditAttribution: alensaqe commentedThis bug presists on the lastest alpha 9 of drupal core 8.
Can anyone check up?
I tested today i do not see any blocks showing up after creating the block from the view!
Comment #10
alensaqe CreditAttribution: alensaqe commentedComment #11
mray CreditAttribution: mray commentedI think I fell for the same reason. :(
Comment #12
jhedstromI just manually tested this by adding a block display to the content view that ships with core.
Comment #13
wheelercreek CreditAttribution: wheelercreek as a volunteer commentedI think this still might be an issue. I'm new to D8 but I just created a view block and was scratching my head trying to find it. But thanks for the tip to find it under "place block" list. I'm using D8 release RC 2.
Comment #14
yonk CreditAttribution: yonk commentedI'm using D8.0.0-rc4 and I'm dealing with the same problem. No view block showing up on blocks page.
Comment #15
imran.khan CreditAttribution: imran.khan commentedUsing D8.0.0-rc4 and having the same issue.
Comment #16
imran.khan CreditAttribution: imran.khan commentedIt was my bad couldn't find it.
The layout of block page has changed and all views block you can find by clicking on the button of your region "Place block".
Thanks guys for dropping hint of "place block".
Cheers
Comment #17
phillechill CreditAttribution: phillechill as a volunteer commentedThanks imran.khan!
Couldn't find it either.
Comment #18
msypes CreditAttribution: msypes commentedThat's some bad UI. I spent 15 minutes researching what I figured was a problem with views or blocks until I found this thread. "Place block" indeed!
Comment #19
ryantollefson CreditAttribution: ryantollefson commentedThanks.
"Place Block" - that took way too long to find and wasn't intuitive at all. These used to show up under the "Disabled" blocks section
I agree with #18 - this is bad UI.
Comment #20
urbanlegend CreditAttribution: urbanlegend commentedCan we add a dismissable note at the top of the page to point new users to the "Place Block" button? It seems too easy to miss.
Comment #21
iamsquared CreditAttribution: iamsquared commentedBad UI, UX, whatever acronym you'd like... it's really bad to completely hide it under a button.
Desperately trying to use D8 but things like this keep getting the way. Please, just list newly-available views blocks on the blocks page.
Comment #22
ore CreditAttribution: ore commented+1 for not in an obvious place. I installed wunderground D8 module which creates blocks. I could not find them for the life of me, cleared caches, read the module code, checked everywhere except under the place block link. My wife calls it a "man look"
Comment #23
Jean Gionet CreditAttribution: Jean Gionet commentedomg.. I seriously thought this was a bug.. it is a very bad setup/system. Stuff like this should be obvious and simple
Comment #24
stuarteske CreditAttribution: stuarteske commentedI use the Adminimal theme and almost gave up testing Drupal 8 again. I thought this was a caching bug. The disabled blocks should not be hidden behind UI button with no associated icons/animation/cursor changes. If this was produced for a client here at Bryter you would get a talking too during quality control and usability.
I use several themes and several blocks both for development and production. Enabling these blocks and placing each one for each theme is not desirable.
Comment #25
imanoop CreditAttribution: imanoop as a volunteer and commentedYou need to click the "Place block" button and you can see the list of all the newly added blocks and you can assign a view block to any region .
Comment #26
kajalkiran CreditAttribution: kajalkiran commentedThe block can be placed to the region by clicking on 'Place block' button on /admin/structure/block/list/poly.
Comment #27
Anonymous (not verified) CreditAttribution: Anonymous commented@kajalkiran
Thank you!
I activated the Archive Block in views under D8. Then i set it to the secondary region and set it up to show on /blog and /blog/*. But it only shows up under /blog/*. Deactivated the block and used "place block". Now it shows up under both sides!
Comment #28
hamburger CreditAttribution: hamburger as a volunteer commented@iamsquared I agree. There's plenty of room to display the available, disabled blocks at, for example; the bottom of the page.
Comment #29
tim.plunkettDisabled blocks now stay in the region they're in when disabled.
Comment #30
mdlueck CreditAttribution: mdlueck commented+1 to iamsquared #21, Had to come find this page to get my new custom D8 block added to the block layout.
Comment #31
anthonyf CreditAttribution: anthonyf at Mediacurrent commentedThis is still an issue using the latest Acquia Lightning, 8.x-2.13-core, on 2017-05-09.
This is something that will drive people crazy who are new to Drupal. I would like to see that nobody ever has to waste their time (and/or their client's money) on this issue ever again. Let's make the complete list of available blocks more accessible somehow, or simply tell people where to find it - as urbanlegend suggested in his comment above.
Maybe all that's needed is to add help text at the top of the page that says something like "Click the 'Place block' button to see a complete list of available blocks."
And maybe some explanation of what we're seeing on the page that tells people it does not display all available blocks but only blocks that have been previously placed in a region.
Comment #32
anthonyf CreditAttribution: anthonyf at Mediacurrent commentedComment #33
anthonyf CreditAttribution: anthonyf at Mediacurrent commentedComment #34
LendudeMoving this out of the views queue, since everyone agrees that the View block does show up, its just hard to find due to how block placement works.
Comment #43
pameeela CreditAttribution: pameeela commentedUpdated issue summary to reflect that this is a UX issue, not a functional issue. But I'm marking it postponed because there is no solution suggested.
Listing all of the blocks on this page does not seem like a good solution. I'm thinking of sites with hundreds and hundreds of blocks...
Comment #44
longwaveI think everyone in this issue was coming from D7 and was used to the way the old block layout page worked, where there was only ever one instance of a block. Now in D8 you can add multiple instances of a block, we need the Place Block button.
To me this is really just "works as designed", just the design changed somewhat between D7 and D8.
Comment #45
pameeela CreditAttribution: pameeela commentedThanks, I agree and supporting multiple placements is a huge win that makes it worth any UX trade off.
I think people must have gotten used to it and that’s why the comments stopped.