Configuring My Pledges
Quick Start
Help people visualize and manage their current pledges. See the Quick Start Guide for tips on getting the My Pledges Widget up and running.
If the shared script hasn't been added to your website, add it to the appropriate webpage, replacing "example-church.com" with the base URL of your church's website.
Create a webpage on your website that will display your My Pledges Widget or identify the page on your website where it will be displayed.
Add the My Pledges Widget to your church website by adding following snippet of code in the body of your chosen website page, modifying the required attributes.
Widget Configuration
Optional Attributes
- Hide Cancel Button: Determines whether the option to cancel an active pledge displays. Default is true.
- Attribute: hidecancelbuttonpledge
- Valid Value: true (or empty) or false
- Example:
hidecancelbuttonpledge="true"
- Cancel Pledge Email Template: Confirmation email sent after a user successfully cancels an active pledge.Note: If hidecancelbuttonpledge = false, then you must set this value.
- Attribute: cancelpledgeemailtemplate
- Valid Value: Message record ID (dp_Communications.Communication_ID)Note: The cancel pledge email comes from a Message, not a Message Template. Similar names but very different things.
- Example:
cancelpledgeemailtemplate="1200"
Attributes must be included before the opening widget tag is closed. Attributes may be listed in any order and should be separated by a space or other whitespace. An attribute's value should be wrapped in quotation marks.
Configure Your Widget!
Fill out the Widget Configurator below, copy your generated widget code, and paste it into your website.
Platform Configuration
Pledges are eligible to appear in My Pledges whenever they meet the following criteria:
- Today's date is less than the End Date or the End Date is undefined.
- The Show On My Pledges field on the Pledge Campaign record is set to Yes.
Customization
All Widgets are customizable, so change the button color and update the labels to match YOUR church!
CSS: Every Widget accepts the Custom CSS attribute. Include it before the opening Widget tag is closed to customize your Widgets.
Application Labels: Call them Gifts or Donations instead of Pledges? To make changes, go to and update the appropriate label(s). Note that you are responsible for all translations if the default is not used.
- mpp-my-pledges.pageTitle: Page title. Default is "My Pledges".
- mpp-my-pledges.cancelPledgeButtonText: Text on the Cancel Pledge button. Default is "Cancel Pledge".