通过上次说的如何增加织梦tag 标签页的 关键词和描述后,
按照网上那些 要调用显示 都是用sql,比较不好
那如何调用呢
在include\ arc.taglist.class.php
里面找到
$this->Fields['title'] = $keyword;
在下面添加
$sql = "select * from dede_tagindex where id='$typeid' ";
$arcRow = $dsql->GetOne($sql);$this->Fields['tagms'] = $arcRow["tagms"];
$this->Fields['tagseo'] = $arcRow["tagseo"];
安装了静态生成的 可以直接在include\arc.taghtml.class.php
里面找到
$sql = "select * from dede_tagindex where id='$typeid' ";
$arcRow = $dsql->GetOne($sql);
$this->Fields['title'] = $arcRow["tag"];
在下面添加
$this->Fields['tagms'] = $arcRow["tagms"];
$this->Fields['tagseo'] = $arcRow["tagseo"];