Home >CMS Tutorial >Empire CMS >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]
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]
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!