search
HomeCMS TutorialEmpire CMSWhat are the commonly used tags in Empire CMS?

What are the commonly used tags in Empire CMS?

Apr 16, 2024 pm 11:48 PM
Empire cmsform submissionarrangement

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.

What are the commonly used tags in Empire CMS?

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
  • {dede:cutstr name="content"/}
  • : Intercept the specified length content in the specified field
  • {dede:sppage name="dede_archives"/}
  • : Pagination tag, used to split the content into multiple pages for display
  • {dede:channel name="dede_archives"/}
  • : Get the content list under the specified column
List tag

##{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
  • Form tag

{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
  • Other tags

##{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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

DVWA

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

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

MantisBT

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.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.