Naviga Web
Docs Home
  • Introduction
  • Release notes
  • Starter kit
    • Introduction
    • Environment Variables
    • Makefile
    • Changelog
    • API
  • Feature: Advanced Search
    • User guide
    • Search Help
    • How to Setup
    • Technical Details
  • Developer documentation
    • Developer prerequisites
      • Developer hardware suggestions
      • Setup on Windows
      • Setup on Linux/Ubuntu
    • Getting started with development
      • Composer package management
      • Gulp and asset building (optional)
      • Git
      • Hosts file
      • Certificate
      • Initiate Naviga Web
      • Start Naviga Web
      • Bin scripts
      • Create theme
      • Environments
      • Deployment
      • Onboarding tasks
        • #0 - New site
        • #1 - Configuration
        • #2 - Front page
        • #3 - Content presentation
        • #4 - OC List
        • #5 - Content containers
        • #6 - Teaser template
        • #7 - Single article
        • #8 - Widget
        • #9 - Custom task
        • #10 - Feedback
    • Architecture
    • Paywall and authentication
      • CloudFront Paywall
      • Engage paywall
      • Lua Paywall (deprecated)
    • Project management: A typical project
    • Database dump
    • Debugging
    • Keep your project up-to-date
    • Gulp and Sass
    • Domain mapping
    • Widgets overview
  • Starter kit packages
    • Base package
      • Changelog
    • Boards plugin (EveryBoard)
      • Installation
      • Setup
      • Board Widgets
        • Linked board
        • Template board
        • Embed widget
        • OC List item
        • Content container
      • Teaser templates
      • Actions and filters
      • Export - import
      • Changelog
    • ContentSync plugin
      • Usage
      • Changelog
    • Drop In Plugins package
      • Changelog
    • Everyware plugin
      • Installation
      • Setup
      • Actions and filters
      • Fetching lists and their content
      • Sorting
      • Widgets
      • Changelog
    • Imengine package
      • Helper class: Imengine
      • Changelog
    • NewsML package
      • Idf Parser
      • Changelog
      • Usage
    • NGINX conf package
      • API
      • Changelog
      • Usage
    • Presentation Preview plugin
      • API
      • Changelog
      • Usage
    • Support package
      • Changelog
    • Theme EU resources package*
      • Changelog
    • Theme US resources package
      • Changelog
    • Twig package
      • Development
        • Filters
          • class_string
          • spacey
          • trim_array
        • Functions
          • php_function
          • php_method
          • render_classes
          • render_partial
        • Operators
          • contains
      • Helper classes
        • View
        • ViewSetup
      • Changelog
  • Widgets and component packages
    • Article List widget
      • Installation
      • Using Article List
      • Changelog
    • Menu handler
      • Usage
      • Changelog
    • Section Header widget
      • Changelog
    • Social media icons widget
      • Installation
      • Changelog
    • Google Analytics plugin
      • Set up Google Analytics
      • Most read widget
      • Changelog
    • Redirect Original URLs plugin
      • Installation
      • Changelog
    • Settings Parameters plugin
      • Installation
      • Usage
      • Changelog
  • Design and theme packages
    • Base theme 1
      • Changelog
    • Base theme 2
      • Colors
      • Fonts
      • Header
      • Menus
      • Pages with Board
      • Sidebars
      • Teaser layouts
      • Article page (text)
      • Article page (embeds)
      • Changelog
    • Example theme
      • Changelog
  • MU Plugins
    • Project Plugin
      • Installation
      • Changelog
    • Starter Package Catalyst
    • Concepts
      • Admin Pages
        • All Concepts
        • Add New Concept
        • Types
        • Errors
        • Concept duplicates
      • API
      • Console
      • Changelog
    • Network
      • Changelog
    • Cache Invalidator
      • Getting Started & WP admin
      • Implementation of Lua endpoint
      • Filters
      • Changelog
    • RSS Feeds
      • Setup
      • Administration pages
      • Changelog
  • Services
    • Imengine
    • Imengine documentation
    • Open Content
    • Writer Bookmarklet
Powered by GitBook
On this page
  • Getting started
  • 1. Create the to-be-used board
  • 2. Add it to your sections' boards (for example)
  • Using external template boards
  • 1. Create the to-be-used board
  • 2. Add it to your other sub site board

Was this helpful?

  1. Starter kit packages
  2. Boards plugin (EveryBoard)
  3. Board Widgets

Template board

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

PreviousLinked boardNextEmbed widget

Last updated 2 years ago

Was this helpful?

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.

Template board with content containers
Implementing template board settings
Create a template board to be shared across sites
Example: adding a shared board