Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to call the universal tag on the feedback page of Imperial CMS

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to call the universal tag in the feedback page of Imperial CMS. The article is very detailed and has certain reference value. Interested friends must read it!

For Imperial CMS, its universal label function is very powerful! It is a tag that many webmasters who use Imperial CMS to build a station.

When you encounter a project today, you need to refer to the latest information of a column on the feedback page. It is obviously the easiest to use the universal tag, but the feedback page does not support the call of the universal tag!

After some tests, the following solutions are obtained:

The calling function of the universal label is the function sys_GetEcmsInfo in t_functions.php under e\ class\. The dynamic page does not support label calls but supports the use of php code, so there is a solution to the problem!

Take the default feedback category that comes with Imperial CMS as an example, the original code is as follows:

The code is as follows:

Your name: (*) Job: company name: contact email: (*) website: contact address: (*) Information title: (*) Information content (*): [!-- cp.footer--]

Now take calling the default data table as an example, the modified code is as follows:

The code is as follows:

Your name: (*) Job: company name: contact email: (*) website: contact address: (*) Information title: (*) Information content (*): [!-- cp.footer--]

Among them, the header include introduces the file t_functions.php where the universal label function sys_GetEcmsInfo is located, and then you can add the function sys_GetEcmsInfo where you need to display information.

The above is all the contents of Imperial CMS's feedback page on how to use the universal tag. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report