Home CMS Tutorial Empire CMS What 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 cms form submission arrangement

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 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

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

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Do I need to use flexbox in the center of the Bootstrap picture? Do I need to use flexbox in the center of the Bootstrap picture? Apr 07, 2025 am 09:06 AM

There are many ways to center Bootstrap pictures, and you don’t have to use Flexbox. If you only need to center horizontally, the text-center class is enough; if you need to center vertically or multiple elements, Flexbox or Grid is more suitable. Flexbox is less compatible and may increase complexity, while Grid is more powerful and has a higher learning cost. When choosing a method, you should weigh the pros and cons and choose the most suitable method according to your needs and preferences.

How to calculate c-subscript 3 subscript 5 c-subscript 3 subscript 5 algorithm tutorial How to calculate c-subscript 3 subscript 5 c-subscript 3 subscript 5 algorithm tutorial Apr 03, 2025 pm 10:33 PM

The calculation of C35 is essentially combinatorial mathematics, representing the number of combinations selected from 3 of 5 elements. The calculation formula is C53 = 5! / (3! * 2!), which can be directly calculated by loops to improve efficiency and avoid overflow. In addition, understanding the nature of combinations and mastering efficient calculation methods is crucial to solving many problems in the fields of probability statistics, cryptography, algorithm design, etc.

How to implement adaptive layout of Y-axis position in web annotation? How to implement adaptive layout of Y-axis position in web annotation? Apr 04, 2025 pm 11:30 PM

The Y-axis position adaptive algorithm for web annotation function This article will explore how to implement annotation functions similar to Word documents, especially how to deal with the interval between annotations...

distinct function usage distance function c usage tutorial distinct function usage distance function c usage tutorial Apr 03, 2025 pm 10:27 PM

std::unique removes adjacent duplicate elements in the container and moves them to the end, returning an iterator pointing to the first duplicate element. std::distance calculates the distance between two iterators, that is, the number of elements they point to. These two functions are useful for optimizing code and improving efficiency, but there are also some pitfalls to be paid attention to, such as: std::unique only deals with adjacent duplicate elements. std::distance is less efficient when dealing with non-random access iterators. By mastering these features and best practices, you can fully utilize the power of these two functions.

How to elegantly solve the problem of too small spacing of Span tags after a line break? How to elegantly solve the problem of too small spacing of Span tags after a line break? Apr 05, 2025 pm 06:00 PM

How to elegantly handle the spacing of Span tags after a new line In web page layout, you often encounter the need to arrange multiple spans horizontally...

Can you learn how to make H5 pages by yourself? Can you learn how to make H5 pages by yourself? Apr 06, 2025 am 06:36 AM

It is feasible to self-study H5 page production, but it is not a quick success. It requires mastering HTML, CSS, and JavaScript, involving design, front-end development, and back-end interaction logic. Practice is the key, and learn by completing tutorials, reviewing materials, and participating in open source projects. Performance optimization is also important, requiring optimization of images, reducing HTTP requests and using appropriate frameworks. The road to self-study is long and requires continuous learning and communication.

How to verify bootstrap date How to verify bootstrap date Apr 07, 2025 pm 03:06 PM

To verify dates in Bootstrap, follow these steps: Introduce the required scripts and styles; initialize the date selector component; set the data-bv-date attribute to enable verification; configure verification rules (such as date formats, error messages, etc.); integrate the Bootstrap verification framework and automatically verify date input when form is submitted.

How to implement sorting and add rankings in PHP two-dimensional arrays? How to implement sorting and add rankings in PHP two-dimensional arrays? Apr 01, 2025 am 07:00 AM

Detailed explanation of PHP two-dimensional array sorting and ranking implementation This article will explain in detail how to sort a PHP two-dimensional array and use each sub-array according to the sorting results...

See all articles