Home > CMS Tutorial > Empire CMS > Summarize the feasible methods of calling column thumbnails on the Empire CMS content page

Summarize the feasible methods of calling column thumbnails on the Empire CMS content page

silencement
Release: 2019-12-03 15:06:35
forward
2936 people have browsed it

Summarize the feasible methods of calling column thumbnails on the Empire CMS content page

After empire ecms 6.0, it is no longer possible to use [!--class.classimg--] to directly call column thumbnails. It worked before 5.1, but now it can only be done on the list page. Use [!--class.classimg--] to call thumbnail tags. Now it can only be called with smart or universal tags. The calling code is as follows

The code on the Internet is:

code As follows:

[e:loop={"select classimg from phome_enewsclass where classid='$GLOBAL[navclassid]'",1,24,0}]
<?=$bqr[classimg]?>
[/e:loop]
Copy after login

After testing, the modification is as follows, and it can be used normally.

The code is as follows:

[e:loop={"select classimg from phome_enewsclass where classid=$navclassid",1,24,0}]
<?=$bqr[classimg]?>
[/e:loop]
Copy after login

It is recommended to study "Empire cms tutorial"

The above is the detailed content of Summarize the feasible methods of calling column thumbnails on the Empire CMS content page. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:www.word666.com/cms
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template