织梦dedecms的{dede:productimagelist}标签调用图集标题title的方法
发布时间:2020-05-28 08:40:03 所属栏目:CMS系统 来源:互联网
导读:{dede:productimagelist}织梦图集标签给img添加alt属性时默认要调用的是注释(即:[field:text/]),可是为了节省时间和劳动力,不想给每张图片都填写注释而是想直接调用标题,也就是想用[field:title/]标签,试了下,结果不行,最后CMS集中营站长通过源代码
|
addTableRow['imgurls'])) return ;
ArcID;
$row = $refObj->dsql->GetOne("SELECT title FROM `dede_archives` WHERE `id` = '$aid';");
$title = $row['title'];
GetAtt('text');
|
