Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of realizing Infinite nesting of tags in Imperial CMS Smart tags

Shulou Source: shulou.com Published: 2022-06-02 05:01:50 10月06日 Update

Imperial CMS smart tags to achieve infinite nesting of tags? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

How does Imperial CMS Smart tags achieve infinite nesting of tags?

This article mainly introduces the Imperial CMS smart tag PHP code to achieve the effect of infinite nesting of tags, friends in need can refer to

Recommended to learn the Imperial cms course

Most friends who are familiar with Imperial CMS know how to use smart tags to call specific information, but the powerful function of smart tags is far from this.

The PHP function of the smart tag is:

Sys_ReturnEcmsLoopBq (column ID/ theme ID, display number, operation type, display only captioned pictures, additional SQL conditions, display sorting)

The php code with smart tags can call information in pages that do not support smart tags, and can also achieve the effect of infinite nesting of tags.

So what can be done to achieve the effect of infinite nesting of tags? The following examples are given:

The code is as follows:

Template code content 2 template code content

When in use, the variable names of $ecms_bq_sql, $bqno, $bqr, and $bqsr can be modified to achieve infinite nesting effect.

Thank you for reading! After reading the above, do you have a general idea of how Imperial CMS Smart tags achieve infinite nesting of tags? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Tags: Tags empires content code effects methods information articles friends templates questions references learning power topics functions functions variables pictures tutorials Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Huawei vpn Linux Shulou Technology