打開:include\taglib\channel.lib.php文件。php
將源代碼spa
//若是用子欄目模式,當沒有子欄目時顯示同級欄目 if($type=='son' && $reid!=0 && $totalRow==0)
改成:code
if($type=='son' && $reid!=0 && $totalRow==0 && $noself=='')
在模版中blog
{dede:channel type=’son’ noself=’yes’}