Content-based Widgets

A content-based widget is a widget that renders all or part of one or more content items. There are two types of content-based widget:

  • Widgets that render the current content item and are therefore used only in content templates and tag templates (in which case the tag's topic content item is the current content item). The Content Body widget is an example of this kind of widget.

  • Widgets that can render information about many widgets and are therefore primarily used in section templates. Such widgets may also be used in content templates (to render information about a content item's related items, for example). The only widgets of this kind at present are the Teaser widget and the related Teaser View widget.