Get the App
SLTechnology News&Howtos  ›  Servers  › 

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

Shulou Source: shulou.com Published: 2022-06-02 01:36:08 10月03日 Update

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!

Tags: Information tags contacts pages Empire Code functions content support Company parameters name address name title phone website Job contact address contact number Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Linux Shulou Tech Info Xiaomi NVidia