Start page / Templates (basics) / Composition of templates / Section templates / Snippet tab

Snippet tab

The “Snippet” tab is used to define how sections that are based on this section template are to be displayed at some locations in SiteArchitect and ContentCreator (e.g., for search results). For this purpose, the variable names of input components are accessed from the “Form” tab.

The aim is to display a section not only with its name but also with:

  • an image (in the “Thumbnail” area)
  • a title (in the “Label” area)
  • a section of text (in the “Extract” area)

in order to reflect the particular object as much as possible. This gives the editor a clear presentation of the content of the search hit in order to find the most relevant hit more easily and to get to the object being searched for more quickly.

Multiple input components can be combined in order to be able to better adjust the output to the needs of the respective project and editors. In addition, methods that can be used with $CMS_VALUE(...)$ can be implemented. Accordingly, the use of entered editorial content for searching can be made to depend on the inputs. If an input component specified on the “Snippet” tab has not been filled by an editor, by default, the name is shown as the title and the path to the search hit is shown as a text excerpt. The path is shown independently in every case in ContentCreator.

You can find a detailed description of snippets under Template development / Snippets.

This tab is represented in the compact view by the icon (see Compact view of tabs (→Documentation FirstSpirit SiteArchitect)).

© 2005 - 2024 Crownpeak Technology GmbH | All rights reserved. | FirstSpirit 2024.5 | Data privacy