Skip to content

Web content tags

Use HCL Web Content Manager tags to reference elements within presentation templates and element designs. You use tags to reference elements within presentation templates and element designs.

To create a web content tag, click Insert Tag from a rich text editor, a presentation template, or an element design field. The Tag Helper dialog opens.

A full list of web content tags and their parameters are documented here:

  • Alternate design tag
    You use an alternate design tag to display a different component based on whether the item that is returned by a menu or navigator is on the current path or not.
  • Attribute resource tag
    You use the attribute resource tag to define the information that is returned by a search query.
  • Component tag
    The Component tag is used to reference the content of a component within a presentation template or element design.
  • Content tag
    The Content tag directly renders a content item or site area.
  • Editable element tag
    The editable element tag is used to make elements from content items and site areas editable when rendered by using a web content viewer portlet when the page is in edit mode.
  • Editable property tag
    An editable property tag is used to make fields and metadata from content items and site areas editable when rendered by using a web content viewer portlet when the page is in edit mode.
  • Element tag
    The Element tag is used to reference an element within a presentation template or element design.
  • If Defined tag
    Use the If Defined tag to render something if an element is defined on a content item or site area.
  • If Edit Mode tag
    The IfEditMode tag is used to render content in a web content viewer portlet only when a page is in edit mode. This tag can be used to display text, fields, and elements in edit mode that are not required to be displayed when the page is in view mode.
  • If Not Defined tag
    Use the If Not Defined tag to render something if an element is not defined on a content item or site area.
  • If Not Edit Mode tag
    The IfNotEditMode tag is used to render content in a web content viewer portlet only when a page is in view mode. This tag can be used to display text, fields, and elements in view mode that are not required to be displayed when the page is in edit mode.
  • In Context tag
    The InContext tag renders a tag body within a specified rendering context. The new rendering context can be specified as a predefined context by using a UUID, or by path.
  • Indenting element designs
    You use an indent tag to format element designs that require results to be indented.
  • Page information tag
    You use the page information tag to display page navigation details in the design of a page navigation element.
  • Path component tag
    The path component tag is used to represent certain parts of the URL such as the servlet path, the base path, or the context path of the current page. This tag can be added to presentation templates, element designs, and component designs.
  • Placeholder tag
    You use a placeholder tag to display metadata within an element or component design.
  • Plug-in tag
    Rendering plug-ins are referenced by using the plug-in tag. Select from preinstalled rendering plug-ins, or select your own custom plug-ins.
  • Property tag
    A property tag is used to display various fields and metadata from content items and site areas.
  • Style element tag
    The style element tag is used to reference a style sheet component that is selected as the default style sheet in an authoring template, or a style sheet component that is referenced within a site area or content item that uses a component reference.
  • URL tag
    The URLCmpnt tag is used to generate a URL to a site area or content item.
Related information