backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

Page title, Messages, Tabs (and probably Action Links) do not display on flexible templates #6720

Open jenlampton opened 1 month ago

jenlampton commented 1 month ago

Description of the bug

All layout templates are required to display the following 4 elements because without them, the Backdrop UI will essentially be broken: page title, messages, tabs, action links.

We have found a way to also provide blocks for these elements, so that they can be moved into a region in the layout, but if the block is not placed in a layout, these elements must still be output by the system. Not only is not having them a usability nightmare, but could also potentially be a security issue, depending on the contents of the messages that are missed.

It appears as though flexible layouts do not print any of these elements unless the specific blocks have been placed.

Steps To Reproduce

To reproduce the behavior:

  1. Create a flexible layout template
  2. Create a new layout for the node/% path
  3. Place the "Existing content block into a region -- Under "Block title type" select "None"
  4. Place the "Promoted content" block into a region
  5. Create and/or view any node
  6. Note that the page title, and Edit/Delete tabs are missing.
  7. Use a contextual link from the Promoted Content block to edit one of those nodes, save the node
  8. Note that the message saying the node has been saved is missing.

Actual behavior

Required elements are missing from the page

Expected behavior

All required elements should be present - the same as any other layout template.

Additional information

Add any other information that could help, such as: