CRM-17363 Petition: Social Network Buttons are displayed on certain condition although switched off

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.7
    • Fix Version/s: 4.6.10
    • Component/s: CiviCampaign
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Some organisations don't want to use CiviCRM's social network buttons due to privacy reasons. Therefore, it is possible to un-check "Allow sharing through social media".

      However, when a user, after successfully signing a petition, returns to the original petition page, she will be redirected to a page, which contains the social network buttons although they should be switched off.

      The reason is trivial:
      CRM/Form/Campaign/Petition/Signature.tpl, line 48 the if-clause is missing.

      I have attached the patched file - hopefully also working with 4.6.9 and 4.7 ...

        Attachments

          Activity

          [CRM-17363] Petition: Social Network Buttons are displayed on certain condition although switched off
          David Greenberg added a comment -

          Detlev Sieber Thanks for submitting this. Would be helpful if you can do a pull request on Github with the fix.

            People

            • Assignee:
              David Greenberg
              Reporter:
              Detlev Sieber

              Dates

              • Created:
                Updated:
                Resolved: