实现教程
1、打开 includetaglibchannelartlist.lib.php 找到
2、打开 includetaglibchannel.lib.php 找到
改成
3、后台-系统-其它选项 去掉php
列表页和内容页标签写法
- {dede:field.typename/}
- [field:typename/]
{dede:php}
$GLOBALS['thisid'] = intval($refObj->Fields['typeid']);
$GLOBALS['reid'] = intval($refObj->Fields['reid']);
$GLOBALS['topid'] = intval($refObj->Fields['topid']);
{/dede:php}
{dede:channelartlist type=son}
{dede:channel type=son noself=yes}
{/dede:channel}
{/dede:channelartlist}
注意:红色的地方是必须要的
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)