若是用子栏目模式,当没有子栏目时显示同级栏目优化

打开: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’}
相关文章
相关标签/搜索