What are the commonly used tags in Empire CMS?
Empire CMS commonly used tags: Basic tags: display field values, global variables and classified content lists. Process tags: remove HTML tags and intercept content. Pagination tags: Split content into multiple pages for display. List tag: Displays a specified number of article lists, article lists sorted by clicks, and product content lists. Form tag: obtain form values, generate form submission methods and input boxes, and drop-down selection boxes. Other tags: display Flash video, voting form, comment list and friendly link list.
Empire CMS Common Tags
Empire CMS is a powerful content management system that provides a wealth of Tags to achieve various dynamic display effects. Here are some of the most commonly used tags in Empire CMS:
Basic Tags
- ##{dede:field name="title"/}
: Display the value of the specified field, such as the article title
- {dede:global name="config.sitetitle"/}
: Display the global variable, such as the website title
- {dede:type name="types"/}
: Loop to output the content list of the specified category
- {dede:if expr="xxx"/}
: Condition Judgment, if the condition is true, the content will be output, otherwise it will not output
Content processing tag
- ##{dede:striphtml}/}
- : Remove the HTML tags in the specified field
- : Intercept the specified length content in the specified field
- : Pagination tag, used to split the content into multiple pages for display
- : Get the content list under the specified column
##{dede:arclist row="10" titlelen ="8"/}
- : Display the specified number of latest articles, set the article title length to 8 characters
-
{dede:arclist orderby="hits"/}
: Sort the list of articles in descending order by the number of clicks -
{dede:loop type="product"/}
: Loop out the product content of the specified category -
{dede: recentlist row="10"/}
: Display the list of recently posted comments
{dede: global_get id="123"/}
- : Get the value in the specified global form
-
{dede:formmethod}/}
: Generate the form submission method, such as GET or POST -
{dede:form_text name="title"/}
: Generate text input box -
{dede:form_select name="classid"/}
: Generate drop-down selection box
##{dede:flashvideo width="120" height="100"/}
: Display the Flash video of the specified path-
{dede:vote id="1"/}
: Display the voting form of the specified vote -
{dede :comment id="123"/}
: Display the comment list of the specified article -
{dede:infolink typeid="1"/}
: Display the friendly links under the specified category List
The above is the detailed content of What are the commonly used tags in Empire CMS?. 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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

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
