Allow blocks to be configured to show/hide on 200/403/404 response pages

Created on 20 April 2014, over 10 years ago
Updated 18 January 2024, 10 months ago

Problem/Motivation

Some blocks, like user login, should be shown on 403/404 response pages.
Others, like the help block, should not.

Proposed resolution

Add a visibility setting to blocks that restricts visibility to any combination of 200/403/404 responses. Default this to show the block for all responses.

Remaining tasks



User interface changes

* Adds a new visibility setting for blocks

API changes

* New condition plugin response_status for 200/403/404 response code

Screenshot before/after

Before

After

โœจ Feature request
Status

Fixed

Version

11.0 ๐Ÿ”ฅ

Component
Pluginย  โ†’

Last updated 1 day ago

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States tim.plunkett Philadelphia

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024