Configuring My Mission Trips
Set up the My Mission Trips widget.
Help people going on mission trips visualize and manage their trips! See the Quick Start Guide for tips on getting the My Mission Trips widget up and running.
If the shared script hasn't been added to your website, add it to the appropriate webpage, replacing "YOUR-BASE-MP-URL" with the base URL with your base MinistryPlatform URL.
<script id="MPWidgets" src="https://YOUR-BASE-MP-URL.com/widgets/dist/MPWidgets.js"></script>
Create or identify a page on your website where you want to display the widget. To add this widget to your church website, add the code you generate in the Widget Configurator widget (with the required attributes) in the body of your chosen website page.
Widget Configuration
Required Attributes
- Mission Trip Campaign Type ID
- This determines the campaign type ID of pledge campaigns that can display in the My Mission Trips widget.
- Attribute: missiontripcampaigntypeid
- Valid Value: Pledge Campaign Type ID
- Example:
missiontripcampaigntypeid="2"
Optional Attributes
- Show Donors
- This determines whether the donors who contributed to a pledge campaign display for each mission trip.
- Attribute: showdonors
- Valid Value: 0 (no) or 1 (yes)
- Example:
showdonors="1"
Configure Your Widget
- Go to your Widgets Library by appending "/widgets" to your system domain. For example,
https://example-church.ministryplatform.net/widgets. - Click the Navigate to... drop-down menu, and select Widget Configurator.
- Select the widget you want to configure, then customize your widget.
- Click Try it Out to see what your widget will look like!
- Copy the generated code from the Embed Code box.
- Add the code to the designated page on your website.
Platform Configuration
To display in the My Mission Trips widget, pledges must meet the following criteria:
- Today's date is before the end date or the end date is blank.
- The campaign type matches the type set in the Mission Trip Campaign Type ID attribute.
Customization
Customize the My Mission Trips widget to change button colors, update labels, and more to match your church brand.
CSS: Every widget accepts the Custom CSS attribute. Include it before the closing of the opening widget tag to customize backgrounds, button colors, and more!
Application Labels: Call them service trips instead of missions trips? 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-mission-trips.pageTitle: The page title. The default is "My Mission Trips".