Template board

A board structure that can be reused in other boards, with varying content.

Sometimes you want to reuse a board layout on many pages, but with different content each time. Then this widget is useful. It has two main components:

  • A board used as template.

  • A data source, whose articles will fill the template. The source can be either an Open Content List or an Open Content Query.

Getting started

How to insert a Template board inside a board.

This example will show how a "Latest news" block of teasers can be reused on each section page.

1. Create the to-be-used board

Create a new Board named "Section News" with the structure and layout you want to reuse.

Just like any board, but don't connect it to any page!

Make sure to use good naming convention if you have many boards.

Fill the board with Content container widgets where you want the data source articles to appear. Pay attention to which positions you set them to use. These positions will be replaced with articles from your data feed.

You can also use other widgets, but then the content will be the same wherever this Template board is used, so it will behave more like a Linked board.

2. Add it to your sections' boards (for example)

  • Make sure you have boards connected to each of your sections.

  • In each of them, add a Template board widget, and select "Section News" as board.

  • Select a data source suitable for the section in question. It could be the latest articles published under that section.

    • List: select an OC List. You will see how many articles it contains.

    • Query: Enter an OC query, sorting order, and any start/limit. Use the "Validate query" button to check the query and get the number of articles.

Be sure your data feed has at least as many articles as the template requires!

Using external template boards

How to use someone else's board as a template.

If you have many sites in your hosting environment, you can use other sites' boards as template as well.

1. Create the to-be-used board

  • Open the source sub site > Boards

  • Create a board with the widgets to be reused, and shared.

  • Make the board shared and available for all your other sub sites. Checkbox to the right.

Note! When making the board available like this, any sub site on your environment may access and display content from this Board, without credentials.

2. Add it to your other sub site board

  • Switch to the target sub site

  • Add a Template bord widget where you want it.

  • Set Shared board to the board you created in step 1.

Last updated