Lists of Lists
Lists of Lists give you the control and flexibility to organize the content inside your app. It's a list of items that you can include in your app, which may open or link to other areas of the app, another list, or external resources (like your website or a PDF).
A list item with an image, display title, subtitle, and description: | A list of lists where each item has an image and title or description: | A list of lists where each item uses just the Display Title: |
---|---|---|
- Display "More" menu that contains any items that didn't fit in your main navigation, which then link to other areas of your app.
- Display an "Our Team" menu with an item for each staff member, which then opens to show contact info for that person.
- Display menus of Opportunities or Groups with an item for each one that's available, which then opens to show more details.
- Display menus of Sermons, Reading Plans, or other resources you have to share that link to your church website.
You can link to a List of Lists item from the left navigation menu (with help from Support) or from the Dashboard.
Create a List
After saving the record, you can refresh your app and see the change almost immediately. Test it out and see what looks best!
Add an Image to a List
Images can be used in addition to or instead of text fields.
The image displays at the top of the list, above the Display Title, if included. The image is expanded horizontally to the full width of the device it's being viewed on and expanded vertically based on the original image ratio.
Filter Lists of Lists
Lists of Lists are highly customizable and can be filtered based on one or more record IDs in the Platform.
To understand how this works, check out this example of the link structure breakdown:
[[APP_PREFIX]]filtered_sermons?Sermon_Date>=2022-01-01&Sermon_Date<=2022-12-31&title=Sermons+from+2022
- [[APP_PREFIX]]
- No need to look it up! Just included the phrase "[[APP_PREFIX]]" at the beginning of your filter.
- filtered_sermons
- The route path.
- ?Sermon_Date>=2022-01-01&Sermon_Date<=2022-12-31
- The selection criteria you're using to filter.
"Sermon_Date>=2022-01-01&Sermon_Date<=2022-12-31" means you are only selecting Sermon records with a Sermon Date on or after (>=) 01/01/2022 and on or before (<=) 12/31/2022. In other words, you're selecting Sermon records between 01/01/2022 and 12/31/2022.
Note: If the field name has a space, remember to replace the space with an underscore. For example, "Sermon Date" becomes "Sermon_Date". - &title=Sermons+from+2022
- The title that displays at the top of the screen.
Here are some examples to get you started. And if you come up with a great way to filter your Lists of Lists, share it with others in the MinistryPlatform Community!
The following URL examples may contain numbers surrounded by curly braces, like this: {100}. These numbers represent a particular record ID in MinistryPlatform. You can locate your appropriate record ID by opening that record in the Platform and looking at the title bar.
The curly braces may appear around a phrase, like {this}. These phrases represent some criteria to be replaced. You should replace any curly braces and the content in them with your specific filter criteria.
Note that dynamic dates are not supported. So, when filtering by dates, you must use the YYYY-MM-DD format.
Events
[[APP_PREFIX]]events?Event_Type_ID={15}&title={Classes}
Groups
[[APP_PREFIX]]groups?Congregation_ID={4}&Group_Type_ID={22}&title={Church+Groups}
Opportunities
[[APP_PREFIX]]opportunities?Program_ID={10}&{Youth+Opportunities}
Sermons & Sermon Series
[[APP_PREFIX]]filtered_sermons?Speaker_ID={27}&title={Sermons+by+John+Doe}
[[APP_PREFIX]]filtered_sermon_series?Series_Start_Date>=2021-12-31&title={Series+from+2022}
Filtered Screens
These are special versions of the screens that don't have any filter buttons. For example, you may want to link from Lists of Lists to a filtered view of events, and you're filtering on Event_Type_ID=1. To send the user to the screen without the filters, you can use the filtered path [[APP_PREFIX]]filtered_events?Event_Type_ID=1.
[[APP_PREFIX]]filtered_events?{filter_criteria}
[[APP_PREFIX]]filtered_groups?{filter_criteria}
[[APP_PREFIX]]filtered_opportunities?{filter_criteria}
Pro Tips
- You can filter based on almost any record field in the Platform, but pay attention to where your filter value is coming from. For example, to filter a list of Sermons by a Congregation, you'll need to get the Congregation ID from the Congregations page. In fact, you can filter on any Foreign Key on a table, and in some cases, on an ID "one step away" such as Event -> Program -> Ministry.
- You can filter based on multiple IDs! To use multiple IDs in your selection criteria, separate them with a comma.
Program_ID=1,2,3
- You can filter based on multiple fields! If you want to use multiple fields, separate them with "&".
Congregation_ID=6&Group_Type_ID=13
- You can include spaces in your title! To include spaces in your title, separate each word with a plus (+) sign.
&title=Title+Has+Spaces