Home  >  Article  >  CMS Tutorial  >  What is the empire cms introduction tag?

What is the empire cms introduction tag?

下次还敢
下次还敢Original
2024-04-16 22:00:22555browse

The Empire CMS profile tag is [empire:indexbody], which is used to call profile information. Tag syntax: empire:indexbody[/empire:indexbody], the parameter field is used to specify the introduction field name, and the introduction of the title field is called by default.

What is the empire cms introduction tag?

What is the empire cms profile tag?

Empire cms profile tag is [empire:indexbody], which is used to call profile information in website pages.

Tag syntax

<code>[empire:indexbody][field=字段名][/empire:indexbody]</code>

Parameter description

Parameter Description
field Specify the name of the profile field that needs to be called

Example

Calling the introduction field of the article title:

<code>[empire:indexbody]title[/empire:indexbody]</code>

Calling the introduction field of the article abstract:

<code>[empire:indexbody]smalltext[/empire:indexbody]</code>

Usage scenarios

Introduction tag can be used in the following scenarios:

  • Homepage displays article summary
  • Article list page displays article title and abstract
  • Content page displays article Text and related introduction

Note

  • The introduction tag can only be used on fields whose model fields are introduction types.
  • If the field parameter is not specified, the introduction of the title field will be called by default.

The above is the detailed content of What is the empire cms introduction tag?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn