Empire cms list page and content page call column thumbnail

After imperial ecms6.0, [!–class.classimg–] cannot be used to directly call column thumbnails. Before 5.1, it can be used. Now only [!–class.classimg–] can be used to call thumbnail labels on the list page. Now it can only be called with smart or universal tags. The calling code is as follows

The online code is:

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

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

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

Note: Change phome to your data table prefix.

Guess you like

Origin blog.csdn.net/wei741094234/article/details/126247507