做365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 中用织梦365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 建设怎么使arc支持也支持current
2020
09
目前,做365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 行业中,用织梦365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 建设的人也越来越多。当中可能会遇到很多问题。今天说一下
当做365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 类似于关于我们多篇新闻时,需要高亮功能的话怎么实现。
$channelid = $ctag->GetAtt('channelid');
在下面插入:
$currentstyle = $ctag->GetAtt('currentstyle');
2、查找:
return lib_arclistDone
(
$refObj, $ctag, $typeid, $ctag->GetAtt('row'), $ctag->GetAtt('col'), $titlelen, $infolen,
$ctag->GetAtt('imgwidth'), $ctag->GetAtt('imgheight'), $listtype, $orderby,
$ctag->GetAtt('keyword'), $innertext, $envs['aid'], $ctag->GetAtt('idlist'), $channelid,
$ctag->GetAtt('limit'), $flag,$ctag->GetAtt('orderway'), $ctag->GetAtt('subday'), $ctag->GetAtt('noflag'),
$tagid,$pagesize,$isweight
);
替换为:
return lib_arclistDone
(
$refObj, $ctag, $typeid, $ctag->GetAtt('row'), $ctag->GetAtt('col'), $titlelen, $infolen,
$ctag->GetAtt('imgwidth'), $ctag->GetAtt('imgheight'), $listtype, $orderby,
$ctag->GetAtt('keyword'), $innertext, $envs['aid'], $ctag->GetAtt('idlist'), $channelid,
$ctag->GetAtt('limit'), $flag,$ctag->GetAtt('orderway'), $ctag->GetAtt('subday'), $ctag->GetAtt('noflag'),
$tagid,$pagesize,$isweight,$currentstyle
);
其实就是在调用函数的Z后加了一个$currentstyle实参
3、查找
function lib_arclistDone(&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlelen=30, $infolen=160,
$imgwidth=120, $imgheight=90, $listtype='all', $orderby='default', $keyword='',
$innertext='', $arcid=0, $idlist='', $channelid=0, $limit='', $att='', $order='desc', $subday=0, $noflag='',$tagid='', $pagesize=0, $isweight='N')
替换为:
function lib_arclistDone(&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlelen=30, $infolen=160,
$imgwidth=120, $imgheight=90, $listtype='all', $orderby='default', $keyword='',
$innertext='', $arcid=0, $idlist='', $channelid=0, $limit='', $att='',$order='desc', $subday=0, $noflag='',$tagid='', $pagesize=0,$isweight='N',$currentstyle='')
其实就是在函数后面加了一个$currentstyle=''形参
4、查找
$row['textlink'] = "".$row['title']."";
在下面插入:
if($currentstyle && $row['id']==$arcid){
$currentstyle = str_replace('~typelink~', $row['filename'], $currentstyle);
$row['currentstyle'] = str_replace('~typename~', $row['title'], $currentstyle);
}
保存,即可。
调用办法:
{dede:arclist titlelen='42' row='10' currentstyle="
~typename~
"}[field:array runphp='yes']
if(@me['currentstyle']){
@me = @me['currentstyle'];
}else{
@me = "
{@me['title']}
";}
[/field:array]
{/dede:arclist} 郑州融科网络专注于企业365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 建设、365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 制作、高端365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 设计,郑州荥阳、上街做365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 就找融科网络!
本文章网址:http://www.oueslati-lab.com/code/26973.html。转载请保留出处,谢谢合作!
- 借力软文营销打造365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 流量
- 谢天:百度熊掌号将成为移动时代的“域名”
- 中小型企业如何建站才更有优势?
- 郑州365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 建设快速搭建365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 小技巧
- 2018年响应式企业365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 四大优势
- windows系统32位系统和64位系统的区别
- 企业365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 的建设主要包括哪几个部分
- 独立IP的主要用途有哪些呢?
- 电子商务365手机版_bt365体育在线备用_黑帮365天第3季是真实的吗 的用户体验要怎么做
- 织梦dedecms调用单个图集中图片数量的方法