ChurchSuite Plan Viewer

Logo

A simple tool to view and print service plans in ChurchSuite

View the Project on GitHub hussra/churchsuite-plan-viewer

  • Installation and Setup
  • Using the program
  • ChurchSuite tips
  • Template editor
  • Template editor

    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.

    The template editor 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!

    Overview

    The template editor window is divided into three sections:

    The default templates are not editable. So, to get started, pick a template you want to start customising, and click Duplicate.

    Liquid template, CSS and JSON data

    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.

    JSON data

    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:

    The #planContents pane

    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.

    Liquid filters

    In addition to the standard LiquidJS tags and filters, the following additional filters can be used

    Examples of using all of these can be found in the default templates.

    Importing and exporting templates

    The Export and Import buttons do exactly what you expect, saving templates as a .plantemplate file that you can share with others.