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