Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12038

Custom field Post-help not shown

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Post-help of custom fields is not displayed to the user. A help icon is displayed, but clicking on it shows an empty popup.

      How to reproduce:

      • create a custom field for Contact (or other), and with a post-help message.
      • go to a "new contact" form, click on the help icon for that field.

      For Activities, I'm also getting a smarty notice, because the

      {help}

      tries to load the content from CRM/Activity/Form/Activity.hlp (it also does for Contact.hlp, but that file exists, even if it doesn't have the custom-field info).

      Might be a link with this comment in CRM/Core/Smarty/plugins/function.help.php :

      // Legacy support for old-style $params['text']
      // TODO: This is probably no longer used, so remove
      $help = '';
      if (isset($params['text']))

      { $help = '<div class="crm-help">' . $params['text'] . '</div>'; }

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: