-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Milestone
Description
None of the layouts that we ship with core has node/% as path, thus people trying to add a field as a block won't be able to figure it out unless they have good knowledge of the internals of layout paths/contexts. This is something that has made me scratch my head more than once and it honestly is a shame to have in-built such an amazing feature, but not expose it prominently or at least in a way that's easy to figure out.
Possible solutions:
- We could ship core with another layout that has its path set to
node/%and includes a field block. A good candidate would be a "Post" layout that has its visibility set to only post nodes and the main content is a display without the image field so we can have that as a field block placed in a sidebar region. - We could show all blocks in the block selection dialog and have the ones that are not available be in a disabled state (grayed out) with a note in the form of "This block is available only in layouts that have the Node context. For example their path is set to
node/%". That should be enough to give people a hint as to why the blocks they are looking for are not available and also as to what they need to do.
PR by @docwilmot: backdrop/backdrop#1637
PR by @jenlampton: backdrop/backdrop#1854
PR by @klonos: backdrop/backdrop#3179
Reactions are currently unavailable