若是用子欄目模式,當沒有子欄目時顯示同級欄目優化

打開: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’}
相關文章
相關標籤/搜索