1.查找到: $channelid = $ctag->GetAtt('channelid'); 在下面插入:$currentstyle = $ctag->GetAtt('currentstyle');2.查找:return lib_arclistDone           (             $refObj, $ctag, $typeid, $ctag->GetAtt('row'), $ctag->GetAtt('col'), $titlelen, $infolen,  …
打开include\taglib\channelartlist.lib.php 找到 $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]); 在此行代码下方增加以下代码: if($typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['topid'] ){ $…
问题一.dede让channelartlist标签支持currentstyle属性 完美解决 打开include\taglib\channelartlist.lib.php找到$pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]);在此行代码下方增加以下代码: if($typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $ref…
dedecms默认模板的channelartlist是不支持currentstyle属性的.currentstyle属性在导航中应用的比较多,可以实现循环调用栏目后,当前页<li>标签获得一个class="自定义命名"的属性,具体作用就不做说明了,需要修改文件. 打开include\taglib\channelartlist.lib.php 找到: $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]); 在此行代码…
由于客户需求,所以进行对文章的arclist标签进行设置当前样式(currentstyle),修改前记得备份. dede版本v5.7sp 找到PHP修改: include/taglib/arclist.lib.php 1.搜索: $channelid = $ctag->GetAtt(‘channelid’); 在下面插入: $currentstyle = $ctag->GetAtt(‘currentstyle’); 2.搜索: $tagid,$pagesize,$isweight 修改成: $…
我先把Exception错误信息贴出来:org.apache.jasper.JasperException: /WEB-INF/jsp/topicAction/addUI.jsp (line: 40, column: 0) Unable to find setter method for attribute: style 通过Exception定位的源代码是: 通过提示我们大概能知道是因为找不到style属性的setter方法,可这个标签是struts2封装的HTML原生标签,但style属性在…
打开include\taglib\channelartlist.lib.php  大约93行 找到: $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]); 在此下方增加: if($typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['topid'] ){…
把dedecms中用channelartlist当导航的站很普遍,但是有的站需要用到当前页中导航样,就是随着不同的页面,导航样式也随着变化. 首先打开include\taglib\channelartlist.lib.php找到: $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]); 在此行代码下方增加以下代码: if($typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['id']…
上次SI多标签插件之后,由于公司内部编码改为utf8编码,因此特意做了这个Source Insight 3.X utf8插件. 下载地址:http://pan.baidu.com/s/1mgyZous,或者:[点我] 安装说明: 解压msimg32.dll sihook.dll siutf8.dll 到Source Insight 3.X安装文件夹 msimg32.dll 引导程序(*) sihook.dll 标签插件(M) siutf8.dll utf8插件(M) 功能说明: 1,添加SI多标…
dedecms织梦问答等模块支持arclist标签,实现随机调用其他栏目文章 就是让模块模板文件支持调用主站的模板,因为调用主站下的/templets/default/模板,也就实现了支持调用所有标签和标签属性.下面是解决方法:不少朋友需要在DedeCms的问答系统.留言本.会员空间导航里调用系统标签,但默认是不支持系统标签调用的,需要对系统文件进行简单的修改. 第一步:打开"/include/common.func.php",该文件5.7,5.6版本默认存在,5.5的不存在自己建一个…