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

Social media buttons in event confirmation email have bad HTML

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.5
    • Component/s: CiviEvent

      Description

      In event confirmation emails, buttons for Tweet and Facebook Like do not function in some email clients, notably Outlook 2003. The reason is that the links are of the form: "href=//twitter.com" rather than "href="http://twitter.com".

      After applying the attached patch to templates/CRM/common/SocialNetwork.tpl the two links worked as expected in subsequent emails.

      In addition to the two links in the "

      {if $emailMode eq true}

      " block, the patch also makes similar changes in 3 additional links in the following "

      {else}

      " which affects the social media links on the event web page. When tested with Firefox, these links worked both before and after the patch.

        Attachments

        1. SocialNetwork.tpl_1.diff
          1.0 kB
          Bob Silvern
        2. SocialNetwork.tpl.diff
          2 kB
          Bob Silvern

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              bobs0 Bob Silvern
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: