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

Contact reference link not working

    Details

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

      Description

      The contact reference link is invalid - at least if this is not a Drupal version. This is because it is currentl;y hardcoded as '/civicrm/contact/...' instead of calling the function crmURL.

      File templates/CRM/Custom/Page/CustomDataView.tpl
      Replace line 89 with:
      <a href='

      {crmURL p="civicrm/contact/view" q="reset=1&cid=`$element.contact_ref_id`"}

      '>

      I did a search in the source code for similar patterns, and we might have the same issue in file templates/CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.tpl, lines 65 and 75.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              nganivet Nicolas Ganivet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 minute
                1m
                Remaining:
                Remaining Estimate - 1 minute
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified