上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: dedecms短标题shorttitle字符长度限制,修改:archives_add.php,archives_do.php,archives_edit.php,article_add.php,article_edit.php,5个文件,将代码: $shorttitle = cn_substrR($ 阅读全文
posted @ 2021-06-22 11:24 hepeacer 阅读(169) 评论(0) 推荐(0)
摘要: dedecms有短标题显示短标题,没有显示长标题,代码如下: {dede:field name='array' runphp='yes'} if(@me['shorttitle']=='') @me=@me['title']; else @me=@me['shorttitle']; {/dede:f 阅读全文
posted @ 2021-06-22 11:18 hepeacer 阅读(78) 评论(0) 推荐(0)
摘要: dedecms列表中添加hot或者new图标。 1、添加new图标 [field:pubdate runphp='yes']$ntime = time();$day3 = 3600 * 24 * 3;if(($ntime – @me) < $day3) @me = “<span class=’new 阅读全文
posted @ 2021-06-21 17:20 hepeacer 阅读(122) 评论(0) 推荐(0)
摘要: dedecms图集列表中调用单个图集的图片数量。 打开文件/include/common.func.php,在文件中添加函数: /*** 调用图集中图片数量* 鹏程木业网 https://www.360muye.cn/**/function Getimgnum($aid) { global $dsq 阅读全文
posted @ 2021-06-21 17:14 hepeacer 阅读(70) 评论(0) 推荐(0)
摘要: dedecms用sql删除无效tag语句: delete FROM dede_tagindex where typeid not in (SELECT id FROM dede_arctype); delete FROM dede_taglist where typeid not in (SELEC 阅读全文
posted @ 2021-06-21 17:03 hepeacer 阅读(83) 评论(0) 推荐(0)
摘要: destoon调用子分类: <!--{php $tagsb=tag("table=category&condition=moduleid=5 and parentid=0&pagesize=10&order=listorder,catid&template=null");}--> {loop $ta 阅读全文
posted @ 2021-06-20 11:00 hepeacer 阅读(171) 评论(0) 推荐(0)
摘要: destoon重新安装: 1、删除/file/cache/install.lock文件 2、将install下的index.php重新上传,覆盖之前的文件。 3、运行重新安装路径,例如:https://www.360muye.cn/install/即可。 备注: 重新安装destoon会清除之前的数 阅读全文
posted @ 2021-06-20 10:46 hepeacer 阅读(321) 评论(0) 推荐(0)
摘要: destoon修改公司模块url路径com,只需要修改两处即可。 1、打开文件include/global.func.php,修改: $URL = DT_PATH.'com/'.$username.'/'; 将com改成你希望的公司模块地址即可,例如:b2b、gongsi、changjia等。 2、 阅读全文
posted @ 2021-06-20 10:42 hepeacer 阅读(205) 评论(0) 推荐(0)
摘要: dedecms去掉面包屑导航(当前位置position)最后的连接符,有两种办法。 办法一:打开文件include/typelink.class.php,修改代码: return $this->valuePosition.$this->SplitSymbol; 修改为: return $this-> 阅读全文
posted @ 2021-06-18 15:38 hepeacer 阅读(117) 评论(0) 推荐(0)
摘要: dedecms栏目列表页只调用当前栏目的tag标签。 1、打开/include/taglib/tag.lib.php文件,找到: if($getall==0 && isset($refObj->Fields['tags']) && !empty($refObj->Fields['aid'])) { 阅读全文
posted @ 2021-06-18 15:26 hepeacer 阅读(91) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 16 下一页