Monklets
Overview
Monklets are predefined code snippets that allow you to bring other module content into your pages (ie: events.). There are a few monklets that have been created that are placed in the content area of your fullwidth sections on your Subpage and Homepage.
You can use a monklet inside a section by placing your cursor in the content area and selecting:
Insert > Monklet > "Desired Monklet"
Help Articles: Some monklets allow inline parameters to be added into the monklet tag to pull items from a specific group, category, etc. -> see this help article for details. For additional information about using monklets, check out our help article here.
Note: you will see some additional monklets listed for your custom layouts (hub new here, etc); however, these are only available for use with the respective layouts.
Section Monklets
These monklets can be added to page content or fullwidth sections:
Section - Article Monklet
This monklet is used in the "Home - Recent Media" section on your homepage.
Content > Articles
Displays the latest three article. If you'd like to display the most recent articles from a specific category or group, you can use the "find_group" or "find_category" parameters.
Monklet: {{section-article-monklet}}
Section - Community Monklet
This monklet is used in the "Home - Community" section on your homepage.
Displays a row of 4 images. Steps to using this monklet:
- Create a link list by going to Content > Link Lists > Add a New Link List. There is an example link list titled "Community Links", and the homepage section uses the link list titled: "Home - Community".
- Add a new link and include the name, URL or page you want to point to and image
- Insert the monklet into a page/section and tell it to "find" the name of the link list you created using the inline parameter syntax.
Monklet Example: {{section-community-monklet|find="community-links"}}
Section - Featured Events Monklet
This monklet is used in the "Home - Featured Events" section on your homepage.
Events > Events
Displays the next three events added to the Events module that are published as featured (Content > Events). If you'd like to display the most recent featured events from a specific category or group, you can use the "find_group" or "find_category" parameters.
Monklet: {{section-featured-events-monklet}}
Section - Link List Rotator Monklet
This monklet is used in the "Home - Local Initiative Rotator" section on your homepage.
Displays an image and text rotator. Steps to using this monklet:
- Create a link list by going to Content > Link Lists > Add a New Link List. There is an example link list titled "Local Initiative Rotator", and the homepage section uses the link list titled: "Home - Local Initiative Rotator".
- Add a new link and include the name, URL or page you want to point to, image and description and button text
- Insert the monklet into a page/section and tell it to "find" the name of the link list you created using the inline parameter syntax.
Monklet Example: {{section-link-list-rotator-monklet|find="local-initiative-rotator"}}
Section Monklet - Callout
Displays a styled box with content. Steps to using this monklet:
- Create a link list by going to Content > Link Lists > Add a New Link List. There is an example link list used for the Style Guide example is titled "Callout Example".
- Add a new link and include the name, URL or page you want to point to, image and description, button text and subtitle.
- Insert the monklet into a page/section and tell it to "find" the name of the link list you created using the inline parameter syntax.
Monklet Example: {{section-monklet-callout|find="callout-example"}}
Displays a rotator in the content area of a page or section. To use this monklet:
- Create a rotator under Media > Rotators. Each slide will be setup as a separate item in the rotator.
- Insert the monklet into a page/section and tell it to "find" the name of the rotator you created using the inline parameter syntax.
Monklet Example: {{section-monklet-content-rotator|find="content-rotator"}}
Sidebar Monklets
These monklets can be added to the sidebar sections on the Subpage Default template:
Sidebar Monklet - Recent Articles
Content > Articles
Displays the most recent article. If you'd like to display the most recent article from a specific category or group, you can use the "find_group" or "find_category" parameters.
Monklet: {{sidebar-monklet-recent-articles}}
Sidebar Monklet - Recent Events
Events > Events
Displays the most recent events. If you'd like to display the most recent event from a specific category or group, you can use the "find_group" or "find_category" parameters.
Monklet: {{sidebar-monklet-recent-events}}
Sidebar Monklet - Recent Posts
Content > Blogs
Displays the latest post from a specific blog, and the blog title needs to be added to the monklet as an inline parameter.
Monklet: {{sidebar-monklet-recent-posts|name="news-updates"}}
Sidebar Monklet - Recent Sermons
Content > Sermons
Displays the most recent sermon. If you'd like to display the most recent featured events from a specific category or group, you can use the "find_group" or "find_category" parameters.
Monklet: {{sidebar-monklet-recent-sermons}}
Specialty Monklets
These specialty monklets can be inserted in the page content area of your Subpage templates.
The "Gallery Monklet" can be inserted into the content area of a page to display a specific photo gallery grid.
After you insert the monklet, the specific gallery name you want to display needs to be added using the "find_gallery" parameter. The name of the gallery should be in slug format, which is the gallery name in lowercase with dashes in place of spaces.
For example, if you created a Gallery titled "Kids Photos", the monklet tag structure would look like this: {{gallery-monklet|find_gallery="kids-photos"}}