Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of getting the current list ID by Imperial CMS

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

This article mainly introduces the method of Imperial CMS to obtain the current list ID, which is very detailed and has certain reference value. Friends who are interested must finish reading it!

How does Imperial CMS get the current list ID?

This article gives an example of how Imperial CMS can get the current list ID in a custom list. Share with you for your reference, the details are as follows:

Today, when I was working on a project with Imperial CMS, I found that the ID of the current custom list could not be obtained in the Empire Custom list. After analyzing the Imperial source code, the default outgoing value of the Empire is 0. Here is a brief record of how to implement "Imperial CMS Custom list to get the current list ID" by modifying the source code.

A brief introduction to the project functions mentioned above:

Users create a large number of custom lists with the custom list function, and then get the same category custom list names in these custom lists, and the style of the current column name needs to be added with a specific CSS style.

Custom list template code snippet

The code is as follows:

[eLuop = {'select listid,listname,filepath from [! db.pre!] enewsuserlist where classid=1',100,24}]

Tags: Empire code function method function generation information content name style source code program project analysis reference event value interest just instance Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker Huawei macOS OPPO Reno