Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. 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

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              detsieber Detlev Sieber
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: