<@cms_article>

Article body data tags

Tag Name

<@cms_article>

Tag Description

Obtain the main text data of the article. Used in tags.${ArticleContent} Get detailed information about the content.

Tag attributes

AttributeTypeRequiredAvailable valuesDescriptionDefault
contentIdINTEGERYes Article ID
pageBOOLEANNotrue = Yes
false = No
Is it a page break?false

Tag data attributes

AttributeDescriptionType
articleContentMain text of the articleString
formatArticle body formatString

Usage Examples

Template for article content page: Retrieved article text

<@cms_article contentid="${Content.contentId}">
  <div class="article_container">
    ${dealArticleBody(Data.articleContent, Data.format!'')}
  </div>
</@cms_article>

Example 2: Pagination of article content (only applicable to rich text articles)

<@cms_article contentid="${Content.contentId}" page="true">
  <div class="article_container">
    ${dealArticleBody(Data.articleContent, Data.format!'')}
  </div>
</@cms_article>

<@page_bar></@page_bar>
``` html

On this page