When I made a Link field, the Help text was missing from the users' Edit profile form?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stephaniepotter created an issue. See original summary.

silvi.addweb’s picture

It's showing help text on user edit form for default admin theme(i.e seven).

Can you please let me know which theme you use for admin side?

If you are using "Bootstrap" theme, it would show help text after tooltip is disabled from theme settings.

Thanks!

stephaniepotter’s picture

It's there on the admin side. Admin theme is Seven.

I was talking about the user end... when they go to fill out their profiles the help text is missing. Using a Bootstrap-based theme for the main part of the site. Help text shows as tooltip for the other field types, but the Help text for the Link field type doesn't show as anything. No tooltip or text.

Subhransu.addweb’s picture

FileSize
52.64 KB

I have setup your issue.

Link field donot show help text tooltip, so please disable tooltip form theme setting and then help text would be displayed below field. Please find the attached screenshot for more clarity.

Hope this helps you.

Thanks!

stephaniepotter’s picture

Ok. Thanks for the info. I have just the URL but not the Title enabled.

Is there a way to get the Help text to show as a tooltip? I wonder how it's processed, because other field types seem to convert to tooltip just fine. Maybe this could be a feature request for a future version.

Thanks for your help.

m42’s picture

Status: Active » Needs review
FileSize
931 bytes

Here is a patch that does the trick.
Basically, all we had to do was to move the description from the container to the textfield.
It works on Bootstrap and does not break anything on other themes.

Status: Needs review » Needs work

The last submitted patch, 6: link-display-tooltip-in-bootstrap-2777181-6.patch, failed testing.

m42’s picture

Status: Needs work » Needs review
FileSize
931 bytes

Status: Needs review » Needs work

The last submitted patch, 8: link-display-tooltip-in-bootstrap-2777181-6.patch, failed testing. View results