Text and Tokens
Ready to choose your own adventure? The text & tokens insight lets you do that! Brush off those HTML and SQL skills and create some truly amazing and helpful record insights to help your staff do ministry better.
- Text & Token record insights pull essential information and put it front and center. Think of these as your new and improved Contact Cards.
- Contacts Page: Participant information
- Participants Page: Contact information
- Care Cases Page: Contact information
- Care Cases Page: Participant information
- Donors Page: Contact information
- Donors Page: Participant information
- Donations Page: Contact information
- Donation Distributions: Contact information
- Donation Distributions: Donation information
- The text & tokens record insight is based on a mixture of HTML and tokens.
Tip: Work in source code mode.
- Tap the email address in one of the pre-loaded record insights will open your email app.
- Use FontAwesome icons to make your record insight, well, awesome.
- Use the Advanced Search Tool to create the tokens that will be rendered for each record.
Add Text and Tokens Record Insights
MinistryPlatform has a bunch of useful record insights by default. But if you want to add your own, you can do that if you have access to the System Setup section.
- Go to .
- Click New to create a new record insight. Or find one you like, and click Copy.
- Add or edit the necessary information:
- Click Save.
Text and Tokens Examples
Copying the example below is a great way to go! But be sure to switch the Template field into source mode (by clicking the </> button) before pasting.
Contact Card for Group Primary Contact
<h3 style="text-align: center;">Primary Contact Card</h3>
<div style="text-align: left; padding-left: 15px;">
<b> Attends:</b>[Primary_Contact_Table_Household_ID_Table_Congregation_ID_Table.Congregation_Name]</div>
<div style="text-align: left; text-transform: lowercase; padding-left: 15px;">
<br><i class="fas fa-envelope-open-text" style="color: #4fb2cc;"></i> [Primary_Contact_Table.Email_Address]
<br><i class="fas fa-mobile-alt" style="color: #4fb2cc;"></i> [Primary_Contact_Table.Mobile_Phone] <br><i class="fas fa-sms" style="color: #4fb2cc;"></i> [(SELECT CASE WHEN Primary_Contact_Table.Do_Not_Text = 0 THEN 'Allows Texts' ELSE 'Do Not Text' END)]
<br><i class="fas fa-birthday-cake" style="color: #4fb2cc;"></i> [Primary_Contact_Table.Date_of_Birth]</div>
Address Fields
[Household_ID_Table_Address_ID_Table.Address_Line_1]
[Household_ID_Table_Address_ID_Table.City]
[Household_ID_Table_Address_ID_Table.[State/Region]]
[Household_ID_Table_Address_ID_Table.Postal_Code]
Contact Card with Clickable Phone Number
<div style="text-align: center;"><b>Household Information</b></a></div>
<div style="text-align: center;">The [Household_ID_Table.Household_Name] Family</div>
<b> <div><b><br></b></div>Home Phone</b>:
<a href="tel:[Household_ID_Table.Home_Phone]">[Household_ID_Table.Home_Phone]</a><div>
<div><br></div>
<b>Address</b>: <br>[Household_ID_Table_Address_ID_Table.Address_Line_1]
<br>[Household_ID_Table_Address_ID_Table.City], [Household_ID_Table_Address_ID_Table.[State/Region]] [Household_ID_Table_Address_ID_Table.Postal_Code]</div>