CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom data fields: display help text as tooltip?
Pages: [1]

Author Topic: Custom data fields: display help text as tooltip?  (Read 931 times)

TwoMice

  • I post frequently
  • ***
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Custom data fields: display help text as tooltip?
April 14, 2010, 10:56:40 am
Hi All,

CiviCRM has nice inline user help in the form of tooltips that display after various fields and at useful places in the interface (e.g., the "Access keys" tooltip at the bottom of most pages).

When creating a new custom data field, I'm able to add "Field pre help" and "Field post help" for the new field, which then display above and below the field, respectively.  What I'd like is to have help text displayed next to the field as a tooltip.

Is there any way to do this as a user or administrator?

Has anyone tried achieving this effect as a developer?  Any suggestions?

Thanks,
Allen
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Custom data fields: display help text as tooltip?
April 14, 2010, 12:19:54 pm

No current way to do it as a user or administrator. One tedious workaround might be to customize the template and create a .hlp file and mimic the other templates (but then you are putting the help in the template and not the DB)

Alternatively you can rewrite the profile template files and inline the javascript/html generated for the help block.

Check: CRM/Core/Smarty/plugins/function.help.php

also doing a view source on a CiviCRM page that uses the help icon will clarify things. ping us on irc if u need help

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

TwoMice

  • I post frequently
  • ***
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Re: Custom data fields: display help text as tooltip?
April 14, 2010, 12:40:50 pm
Hi Lobo,

Thanks for the tips, Lobo.  Depending on how "necessary" it is, I may try and make it happen.  Will post back here any results.

- Allen
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom data fields: display help text as tooltip?

This forum was archived on 2017-11-26.