Skip to content
Lukas Gerbenis edited this page Dec 4, 2015 · 8 revisions

Smart tag is custom Better CMS string, which will be replaced with page data, when rendering page:

Smart Tags

For inserting smart tags, choose any smart tag from the list in the editor toolbar (1). Custom CMS string will be inserted to content and later replaced with the related data.

For example, smart tag {{CmsPageTitle}} (2) will be replaced with rendered page title.

Available smart tags

  • Page title.
  • Page URL.
  • Page ID.
  • Page creation date. Date format can be specified. Syntax: {{CmsPageCreatedOn:yyyy-MM-dd}}
  • Page last modification date. Date format can be specified. Syntax: {{CmsPageModifiedOn:yyyy-MM-dd}}
  • Page option. Option key should be defined. Syntax: {{CmsPageOption:OptionKey}}. If option type is DateTime, date format can be specified: {{CmsPageOption:DateTimeOptionKey:yyyy MMMM}}. If option type is float, number format can be specified: {{CmsPageOption:FloatOptionKey:0.00}}.
  • Meta title.
  • Meta keywords.
  • Meta description.
  • Main image URL.
  • Featured image URL.
  • Secondary image URL.
  • Category name.
  • Blog post author name. Only in blog posts.
  • Blog post activation date. Only in blog posts.
  • Blog post expiration date. Only in blog posts.
Clone this wiki locally