Home > CMS Tutorial > Empire CMS > body text

What is the empire cms introduction tag?

下次还敢
Release: 2024-04-16 22:00:22
Original
554 people have browsed it

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>
Copy after login

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>
Copy after login

Calling the introduction field of the article abstract:

<code>[empire:indexbody]smalltext[/empire:indexbody]</code>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!