A simple tool to view and print service plans in ChurchSuite
View the Project on GitHub hussra/churchsuite-plan-viewer
The template editor within ChurchSuite Plan Viewer will let you customise the provided templates, and create your own. It is opened by clicking the pencil button next to the Select a template drop-down in the main window.
If you are lucky enough to have dual monitors on your computer, you may find it convenient to put one window on each monitor!
The template editor window is divided into three sections:
02-11-2025-1100-full.pdf.The default templates are not editable. So, to get started, pick a template you want to start customising, and click Duplicate.
The middle portion of the template editor window shows three things:
Only the first two of these are editable within the template editor. It is the combination of all three that creates the printable plan.
Use the right hand section to explore the data available to your template, clicking the triangle icons to expand and collapse different sections. Most of this data is structured according to ChurchSuite’s Planning module API models.
There are three top-level objects:
plan, representing the chosen service plan. Within this are two further objects:
plan.detail contains the overall plan properties. It is a Plan model
with one addition, the date_time property which represents the plan’s start date and time as a JavaScript
Date object.plan.items is an array of objects, each representing an item in the service plan as a
PlanItem model with one addition, the date_time property which
represents the plan item’s start date and time as a JavaScript Date object.arrangement property
which is a SongArrangement model, and a song property which
is a Song model. The arrangement property is in turn augmented with a
stanzas property which is an array of objects, each representing a stanza of the song chart. Each stanza has a name property
(e.g. Verse 1, and an array of strings representing the lines of that stanza.)brand represents your account’s default branding as a Brand model,
allowing you to display your logo and use the default brand colour. In addition, a logo.data_url property is added giving your
logo as a data: URL for easier display within your template.types contains a set of properties each representing one of your plan item types as
Type model, and with the key being the type name converted
to lower case with spaces changed to underscores. This can be used by your template to display the different item types
in appropriate ways - there are examples of this in the default templates.When your Liquid template has been applied to the plan data, it is loaded into the right hand pane of the
main plan viewer window, where it is inserted into a <div id="planContents" /> element.
This pane has the Bootstrap 5.3 styles applied,
including their sans-serif native font stack. Your template’s own styles are also loaded, and in them you can use
the --primary-color variable to reference your ChurchSuite account’s primary colour.
In addition to the standard LiquidJS tags and filters, the following additional filters can be used
bibleBook, which converts the abbreviations ChurchSuite uses into a more recognisable name of a book of the Bible.markdown, which converts Markdown text (using the CommonMark specification) to HTMLpersonName, which takes a person and formats their name according to the user’s chosen Default name style setting.songKey, which takes a song item and displays the song’s key.songCredits, which takes a song item and displays its copyright information, including your CCLI Licence number if configured
in the global settings.Examples of using all of these can be found in the default templates.
The Export and Import buttons do exactly what you expect, saving templates as a .plantemplate file that you
can share with others.