Closed (duplicate)
Project:
Drupal core
Version:
8.2.x-dev
Component:
block.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Jun 2015 at 16:11 UTC
Updated:
22 Jun 2016 at 19:36 UTC
Jump to comment: Most recent
Comments
Comment #1
ivanstegic commentedComment #2
legolasboDependant issue has been committed.
Comment #3
legolasboDo we want to add a contextual link for all possible regions? Or just the ones that are currently available on the page?
Comment #4
tkoleary commented@legolasbo
Since there are other ways to accomplish the same task I would say only regions that are displayed. By analogy, in Quick Edit module we do not provide a way to "quick edit" fields that are not rendered.
Comment #5
wim leersThat's an invalid analogy. Some fields cannot be rendered, because they're metadata. OTOH, all regions can be rendered, because that is their entire purpose.
I would say every region should have a contextual link, including ones that currently don't have blocks. Because that's the point: you want to put blocks in certain locations, so shouldn't we give the user the ability to add blocks to currently empty regions?
(And yes, I'm well aware that this is not without consequences. I'm playing the devil's advocate here: I'm trying to channel what users want to be able to do.)
Comment #6
wim leersThat's an invalid analogy. Some fields cannot be rendered, because they're metadata. OTOH, all regions can be rendered, because that is their entire purpose.
I would say every region should have a contextual link, including ones that currently don't have blocks. Because that's the point: you want to put blocks in certain locations, so shouldn't we give the user the ability to add blocks to currently empty regions?
(And yes, I'm well aware that this is not without consequences. I'm playing the devil's advocate here: I'm trying to channel what users want to be able to do.)
Comment #7
legolasboI fully concur with Wim,
If we are able to find a way for the user to add blocks from the front end we could hit two birds with one stone.
Comment #8
lewisnymanI think we spoke about this, it's going to be very tricky to render all regions all the time, that's going to impact the display of the page in a big way. For example, Bartik would always have two sidebars.
A short-term fix would be to just add this contextual link for regions that are rendered. Maybe the long term fix would be a UI overhaul.
Comment #9
legolasboCouldn't we use AJAX to "enable" the regions when they are needed for block placement and then "disable" them again after a block was placed and/or settings were saved.
Comment #10
tim.plunkettWhat is going to trigger that? Any contextual link on the page would make all regions suddenly appear?
This is why the Panels IPE has buttons at the bottom to trigger the mode where all regions are shown.
Comment #11
legolasboThat's what I was thinking of.
Comment #12
tim.plunkettI can't imagine how that would be in scope for 8.0.x
Comment #13
tkoleary commentedThis is a good idea, but as Tim suggested, it feels out of scope for 8.0. The purpose of this issue is to make an immediate fix to a usability issue by leveraging an existing interaction pattern to behave as the user expected it would, not to introduce a new interaction pattern which s what some comments here are creeping towards.
I fully expect that there will be several competing solutions in Drupal 8 contrib for dragging and dropping blocks around on the page in a Panels IPE-like fashion (there are already two that I know of, edit UI, and better blocks ). IMO this issue should take the simplest approach possible and leave the more complex functionality to contrib.
Comment #14
yoroy commentedComment #15
yoroy commentedComment #16
tedbowThis functionality it seems would be included in this issue #2724819: Create experimental module for place block on any page feature
Comment #17
skaughtadding to this issue from #2724819: Create experimental module for place block on any page feature

in mixing these issues https://www.drupal.org/project/bud has some good progressive ideals in-line with this ticket.
of course, further down the trail of (progressive) enhancement would be https://www.drupal.org/project/feadmin -- for drop 'n drag & cross region dropping.
Comment #18
tkoleary commentedDuplicate of functionality in: #2724819: Create experimental module for place block on any page feature