{list action=mondule mondule=photo id=5}
{php $images=dr_get_files($t.images);}
{loop $images $i $c}
文件原始地址:{dr_get_file($c.file)}
图片缩略图:{dr_thumb($c.file, 200, 200)}
{/loop}
{/list}在专题模块show页面中调取图集模块id为5的图集,多文件循环无法调用,其他字段正常,请问可否有调用方式,或错误是?
{content mondule=photo id=5} {php $images=dr_get_files($t.images);} {loop $images $i $c} 文件原始地址:{dr_get_file($c.file)} 图片缩略图:{dr_thumb($c.file, 200, 200)} {/loop} {/content}id查询不需要用list标签了{content mondule=photo id=5} {loop $t.images $i $c} 文件原始地址:{dr_get_file($c.file)} 图片缩略图:{dr_thumb($c.file, 200, 200)} {/loop} {/content}