【解决办法】
第一步:打开 /include/arc.archives.class.php 文件,找到约234行如下代码:
- //设置全局环境变量 $this->Fields[‘typename’] = $this->TypeLink->TypeInfos[‘typename’];
复制代码
在其下一行加入如下代码:
- //设置全局环境变量 $this->Fields[‘typename’] = $this->TypeLink->TypeInfos[‘typename’];
复制代码
第二步:在你的内容页模板适当位置加入调用代码:
{dede:field.typelink/} 带链接的栏目名称,如:<a href="栏目链接地址">栏目名称</a>
{dede:field.typeurl/} 仅栏目链接,如: /news
以上两种方式可任选一种即可。
当世界给草籽重压时,它总会用自己的方法破土而出。