Problem/Motivation

I installed this module but it doesn't seem to work. The help text is still on the bottom. The instructions say: This module just moves the "Description" on form elements to the top, under the label for modern (D8+) themes that support a setting like $variables['description_display'] = 'before'.

But I don't know what that means. Please clarify.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

emb03 created an issue. See original summary.

  • jrb committed 77d12d05 on 1.0.x
    Issue #3458151 by jrb, emb03: Update README with some more details
    
jrb’s picture

Status: Active » Postponed (maintainer needs more info)

I've updated the the module page and README with a bit more information:

Install and enable Top Description as you would any other contributed module. See:

https://www.drupal.org/docs/extending-drupal/installing-modules

Once enabled, it should move the "Description" / "Help text" to the top on all fields except for radios and checkboxes (it looks strange at the top on those).

This will only work for modern (D8+) themes that support a setting like $variables['description_display'] = 'before'. Claro, Olivero, and many other themes support this.

If this module does not work, it is most-likely because the theme being used does not support that setting. You might consider contacting the theme maintainer.

The module should "just work" once it's enabled. Per above, if it doesn't, it's probably due to the theme. If the most-recent version of this module still doesn't work for you, let me know what theme you're using.