CRM-6395 Add id and class attributes for hook_civicrm_links

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Documentation for hook_civicrm_links() shows an 'id' attribute, but this is not used in creating the link itself.

      This patch adds support for the "id" attribute. It also adds support for a "class" attribute, hoping to make for easier styling of the links.

        Attachments

        1. ActivityLinks.tpl.patch
          0.7 kB
          Allen Shaw
        2. ActivityLinks.tpl.patch
          0.7 kB
          Allen Shaw

          Activity

          [CRM-6395] Add id and class attributes for hook_civicrm_links
          Allen Shaw added a comment -

          Even better, this patch also puts the "title" value in the title attribute for the link, so that mouseover tooltips don't default to "Summary" as they would otherwise.

          Kurund Jalmi added a comment -

          Since we changed ActivityLinks.tpl in 3.2, this patch is no longer valid. Thanks for the patch

            People

            • Assignee:
              Kurund Jalmi
              Reporter:
              Allen Shaw

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 5 minutes
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified