Monklets

Monklets are snippets of code used to dynamically include content from your site. For example, a Monklet can be used to include the latest blog post, the three newest articles, or a signup form from the Forms module.

Overview

Monklets can be added into pages and sections. To insert a Monklet into your content, click Insert > Insert Monklet and select the Monklet you want from the pop-up menu.

Pre-Built Monklets

There are several Monklets available for you to use in the sidebar sections of your Subpage Default template:

  • Sidebar Monklet - Upcoming Events: Displays the three most recent events
  • Sidebar Monklet - Reatured Article: Displays the most recent article that was published as featured
  • Sidebar Monklet - Recent Post: Displays the most recent blog post from all blogs
  • Sidebar Monklet - Recent Sermon  Displays the most recent sermon

Section Monklets

There are several Monklets available for you to use in the fullwidth content sections of your Home Page and Subpage Fullwidth template:

  • Section Monklet - Featured Items: Displays images from a Link List (Content > Link List). Note: the Link List slug title needs to be added to the monklet tag
  • Section Monklet - Form Embed: Displays a form in a lightbox. Note: the form slug title needs to be added to the monklet tag.
  • Section Monklet - Latest Blog: Displays the three most recent blog posts.
  • Section Monklet - Latest Sermon: Displays the most recent sermon.
  • Section Monklet - Live Event Countdown: Displays a countdown timer to the next event with the "live service" category assigned
  • Section Monklet - Small Rotator: Displays an image rotator witin the section. Note: the rotator slug title needs to be added to the monklet tag.
  • Section Monklet - Upcoming Events: Displays the three most recent events

Note: See the Monklets for the Home article for more details.

Inline Parameters

Within the monklet tag, you can add parameters to filter the info by a specific category or group (ie: only Kids events or Student sermons) These are known as inline parameters. The category or group would need to be setup within the specific module and then added to the monklet, like this:

{{sidebar-monklet-latest-sermon|find_category="students"}}

The find_category="students" parameter will update the sidebar section to only display the latest sermon with the "students" category assigned.

Help Article: Using Inline Parameters

Slug Titles

When adding inline parameters, you will need to use the slug version of your category/group title. A Slug Title is a web-friendly version of the title, where all spaces are converted to dashes (-) and all special characters are removed.

For example, if you want to show only the "Kids Ministry" events in a sidebar section, the inline parameter with the slug title of your category will look like this: {{sidebar-monklet-upcoming-events|find_category="kids-ministry"}}

You can also use the Slug Creator Tool to generate the slug version of any title.

Help Article: Writing Slugs