Help not displayed within modals (like when adding a new block to layout)

Created on 6 May 2014, over 10 years ago
Updated 16 January 2024, 11 months ago

Problem/Motivation

Help text is not displayed on modals.

The point about adding help to modal was added to #2263359: hook_help(): Top of page help sections can't link to help pages without a fatal error or checking for help module to decide if this should be done. In that issue there was no decision concerning adding help text to modals. See #16. Help not displayed within modals (like when adding a new block to layout) Needs work

#17 Help not displayed within modals (like when adding a new block to layout) Needs work points out that this solution has a negative impact on performance.

Steps to reproduce

Go to admin/structure/block, there are blocks on the right side that you can "Place".

If you click one of the links, such as "Powered by Drupal" or "Language Switcher" (if you have Language module enabled), you get a pop-up window. This window does not show the Help text that the module has provided for this block. However, if instead of the pop-up, you open the link in a new tab so you get a full page, you see the Help text.

Proposed resolution

Add the help text to the block pop-up.

Remaining tasks

There are questions to answer:

  1. Should help text be added to modals.
  2. If so, should there be a way to disable the help text from being added to modal dialogs. See #7 Help not displayed within modals (like when adding a new block to layout) Needs work

User interface changes

Yes, help text added to modals.

API changes

Data model changes

Release notes snippet

Feature request
Status

Needs work

Version

11.0 🔥

Component
Ajax 

Last updated 42 minutes ago

Created by

🇺🇸United States jhodgdon Spokane, WA, USA

Live updates comments and jobs are added and updated live.
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.

  • The Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

  • I encountered a case where the help text was important when deleting a node so this would be a helpful feature.

Production build 0.71.5 2024