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

URLs differ between Event Dashboard and Manage Events - Causes issue with Link Tracking in CiviMail

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.3, 4.7.6
    • Fix Version/s: 4.7.8
    • Component/s: CiviEvent, CiviMail
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Event Dashboard has event URL formatted as http://www.mydomain.com/civicrm/event/info?reset=1&id=66

      Manage Events has URL formatted as http://www.mydomain.com/civicrm/event/info?id=66&reset=1

      If you embed a link pulled from the Event Dashboard, which has reset=1&id=66 vs. id=66&reset=1 and Link Tracking is enabled, the link will not redirect properly and user will receive an error.

      Sorry but we are not able to provide this at the moment. Could not find valid value for id

      Return to home page.

      As a quickfix, I have edited line 60 of civicrm\templates/CRM/Event?Page/DashBoard.tpl to:
      <td class="crm-event-eventTitle"><a href="

      {crmURL p="civicrm/event/info" q="id=`$id`&reset=1"}

      " title="

      {ts}

      View event info page

      {/ts}

      ">{$values.eventTitle}</a>

      This ensures that no matter which page the link is access and copied from, the URL will work in CiviMail if Link Tracking is enabled. However, I am unsure if there was a reason for the differing URLs.

        Attachments

          Activity

            People

            • Assignee:
              rohan1990 Rohan Ramesh Katkar
              Reporter:
              friendswoodtech Jackie Gibson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h