Empire CMS introduction tag is used to display the summary of the specified column content, syntax: !--empirecms_..., attributes include column ID (typeid), number of abstracts (limit), title length (titlelength), content length (infolength), list type (listtype), maximum title length (maxtitlelength), maximum content length (maxinfolength), arrangement (order), cache time (cachetime).
Empire CMS Introduction Tag
Empire CMS Introduction Tag is used to insert content specified in the Empire CMS system into the page Summary information for the module.
Syntax:
[!--empirecms_...] [/--]
Attributes:
- typeid: Specify the content to be displayed Column ID.
- limit: Specify the number of summaries to display.
- titlelength: Specify the character length of the summary title.
- infolength: Specifies the character length of the summary content.
-
listtype: Specify the type of summary list (
0
is the title plus content summary,1
is the title list). - maxtitlelength: Specify the maximum character length of the summary title.
- maxinfolength: Specifies the maximum character length of the summary content.
-
order: Specify the sorting method (
0
is sorted by release time,1
is sorted by click rate). - cachetime: Specify the summary cache time (unit: seconds).
Example:
To display the titles and content summaries of the latest 5 news items in the news column, you can use the following tags:
[!--empirecms_typeid=1,limit=5,listtype=0--] [/--]
To display a list of the top 10 most clicked headlines in the Entertainment section, use the following tag:
[!--empirecms_typeid=2,limit=10,order=1,listtype=1--] [/--]
The above is the detailed content of What does the Empire CMS profile label look like?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver CS6
Visual web development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.