织梦添加 今日更新列表

修改文件:
dede/inc/inc_menu.php 
    143行,插入  <m:item name='更新今日更新' link='makehtml_freelist.php?aid=1&title=today' rank='sys_MakeHtml' target='main'/>
    
新建 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
 
更新 让后访问 www.zuola.net/today/
 
-------------------------------------------
单页文档调用最近更新文章----->typeid="top"
 
{dede:arclist orderby="pubdate" titlelen="26" row="60" typeid="top"}
        <a href="[field:arcurl/]" title="[field:fulltitle/]" target="_blank">[field:title/]</a>
        [field:global name='autoindex' runphp='yes']if(@me%5==0){@me="<br />";}else{@me='';}[/field:global]
{/dede:arclist}