Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Rationale
      ------------
      Default behavior for PCP's is that they "require approval" by a site admin. Currently there is no way for admins to stay informed about new or modified PCP's - other than constantly checking the "Manage Personal Campaign Pages" listing.

      Implementation
      ---------------------
      1. Add column to civicrm_pcp_block table:
      notify_email varchar 255 default NULL

      2. Add form element to Personal Campaign Page Settings form (CRM/Form/Contribute/ContributionPage/PCP.php):
      Field should be placed immediately following approval_needed field.
      Label = "Notify Email"
      Not required
      Must be valid email address
      When PCP block is first created (i.e. condition starting on line 68) - set default for this field to value of civicrm_contribution_page.cc_receipt (if that value is not empty)
      Help for field: "Notification will be sent to this email address whenever a Personal Campaign Page linked to this contribution page is either created or updated."

      3. Create a new email template - PCPNotify - which is sent whenever the Campaign form is saved (e.g. whenever a user creates or updates a PCP). Content of the email is:

      Subject: Personal Campaign Page Notification

      Body (note: some of below is pseudocode - not necessarily exact implementation):

      =============================
      Personal Campaign Page Notification
      =============================
      Action:

      {if $mode EQ 'Update'}

      Updated personal campaign page

      {else}

      New personal campaign page

      {/if}

      Page Title: $pcpPageTitle
      Current Status: $pcpStatus
      View Page:
      >> $pcpInfoURL

      Supporter: $pcpOwnerDisplayName
      >> $pcpOwnerContactSummaryLink

      Linked to Contribution Page: $contribPageTitle
      >> $contribPageLiveURL

      Manage Personal Campaign Pages:
      >> $pcpAdminURL (e.g. civicrm/admin/pcp?reset=1)

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified