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:
Create a flexible layout template
Create a new layout for the node/% path
Place the "Existing content block into a region -- Under "Block title type" select "None"
Place the "Promoted content" block into a region
Create and/or view any node
Note that the page title, and Edit/Delete tabs are missing.
Use a contextual link from the Promoted Content block to edit one of those nodes, save the node
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:
Backdrop CMS version: 1.29.0
Web server and its version: n/a
PHP version: 8.2
Database sever (MySQL or MariaDB?) and its version: n/a
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:
node/%
pathActual 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: