织梦添加 今日更新列表
修改文件:
dede/inc/inc_menu.php
143行,插入
新建 today_list.htm 可从列表页拷贝
修改 /include/arc.freelist.class.php
line--->303--->if($this->FLInfos['nodefault']==1)--->1---改为--->0
如果调用文章所属栏目链接是对的,此处不用修改
line--->661--->
$row['typeurl']=GetTypeUrl($row['typeid'],$row['typedir'],$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['siteurl']);
$row['typeurl']=GetTypeUrl($row['typeid'],$row['typedir'],$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['siteurl'],$row['sitepath']);
GetTypeUrl 函数定义于--->\include\helpers\channelunit.helper.php
更新 让后访问
-------------------------------------------
单页文档调用***近更新文章----->typeid="top"
{dede:arclist orderby="pubdate" titlelen="26" row="60" typeid="top"}
[field:global name='autoindex' runphp='yes']if(@me%5==0){@me="
";}else{@me='';}[/field:global]
{/dede:arclist}
时间:(2024-02-06 14:18:50)
本站资源均来自互联网或会员发布,如果不小心侵犯了您的权益请与我们联系。我们将立即删除!谢谢!