Section presets

Overview

A section preset is a preconfigured set of Section widgets and other widgets. Presets are small page chunks, wrapped in a Section widgets, that can be reused across multiple Next.js pages. 

Section presets are useful when several pages are designed to contain the same group of widgets. With presets, it is no longer required to recreate the widgets on every single page.

PREREQUISITES: To create and use section presets, you must use Next.js pages.

You create a section preset once, while ensuring you wrap the widget group in a Section widget. Then you can create the preset that you can reuse.

Once you apply a preset to a page, it will be rendered as a Section widget, containing the group of the underlying child widgets. All widget settings, which you have configured when creating the preset, are preserved.

Widget presets vs. Page templates

The difference between a widget preset and a page template is that widget presets are reusable templates for just a section of the page, while a page template applies to the entire page. Hence, a widget preset can be viewed as a partial template. 

The following screenshot demonstrates the creation of a Section preset:

Create section

General process

To create and use a section preset, you need to comply to the following general process:

  1. You create the widget preset, using the WYSIWYG editor.
  2. You start with a Section widget and add the other widgets that your preset requires.
  3. You save the widget preset.
  4. You apply the widget preset where you need it.

NOTE: Section presets are per site. Presets created on a specific site can only be used on pages of that site. Presets cannot be shared between sites.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?