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

Event Receipt : iCalendar link goes to Joomla admin site instead of front end

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Event Receipt : iCalendar link goes to Joomla admin site instead of front end.

      Currently, templates/CRM/Event/Form/Registration/ReceiptMessage.tpl using the following code to format the link. This does not work at all for Joomla.

      {assign var="icalFeed" value=$config->userFrameworkBaseURL|cat:"civicrm/event/ical?reset=1&id="|cat:$event.id}

      Probably best to create a link in the PHP code which will work for both Drupal AND in Joomla sites will direct to joomla front-end url, then assign to the tpl. The format for joomla s/b:

      http://<joomla site>/index.php?option=com_civicrm&task=civicrm/event/ical&reset=1&id=1

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: