Summarize the method of calling universal tags on the feedback information page of Empire CMS

silencement
Release: 2019-11-29 14:16:06
forward
2338 people have browsed it

Summarize the method of calling universal tags on the feedback information page of Empire CMS

For Empire CMS, its universal tag function is very powerful! It is a tag that is frequently used by many webmasters who use Imperial CMS when building websites!
Today I encountered a project that needed to quote the latest information of a certain column on the feedback information page. It is obviously the easiest to use universal tags, but the feedback information page does not support the call of universal tags!

After some testing, we came up with the following solution:
The calling function of the universal tag is the function sys_GetEcmsInfo in t_functions.php under e\class\. The dynamic page does not support tag calling but does. With the use of php code, the problem has a solution!

Recommended to study "Empire cms Tutorial"

Take the "Default Feedback Classification" that comes with Imperial CMS as an example. The original code is as follows:

The code is as follows:

[!--cp.header--] 
您的姓名:
(*)
职务:
公司名称:
联系邮箱:
联系电话:
(*)
网站:
联系地址:
信息标题:
(*)
信息内容(*):
[!--cp.footer--]
Copy after login

Now take the call of the 10 latest information of the default data table as an example. The modified code is as follows:

The code is as follows:

[!--cp.header--]  
您的姓名:
(*)
职务:
公司名称:
联系邮箱:
联系电话:
(*)
网站:
联系地址:
信息标题:
(*)
信息内容(*):
[!--cp.footer--]
Copy after login

Among them, the header include Introduce the file t_functions.php where the universal tag function sys_GetEcmsInfo is located, and then add the function sys_GetEcmsInfo(0,10,28,0,3,2,0) where the information needs to be displayed; pay attention to the parameters in the function and the universal tag function sys_GetEcmsInfo. The parameters in the tags correspond one to one!
Now, the problem is solved!

The above is the detailed content of Summarize the method of calling universal tags on the feedback information page of Empire CMS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:www.word666.com
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!