织梦dedecms如何调出图集的图片数量,效果如图:
可以通过添加小助手函数来实现,打开/include/helpers/archive.helper.php 在底部添加如下代码:
01
02
03
04
05
06
07
if
(! function_exists(
'Getimgnum'
)) {
08
function
Getimgnum(
$aid
)
09
{
10
global
$dsql
;
11
$imgurls