找到:
1
require_once
(DEDEINC.
"/taglib/hotwords.lib.php"
);
在下面添加:
1
require_once
(DEDEINC.
"/taglib/channel.lib.php"
);
2
require_once
(DEDEINC.
"/taglib/arclist.lib.php"
);
3
require_once
(DEDEINC.
"/taglib/channelartlist.lib.php"
);
4
require_once
(DEDEINC.
"/taglib/myad.lib.php"
);
5
require_once
(DEDEINC.
"/taglib/php.lib.php"
);
6
require_once
(DEDEINC.
"/taglib/sql.lib.php"
);
然后找到:
1
else
if
(
$tagname
==
"hotwords"
)
2
{
3
$this
->dtp->Assign(
$tagid
,lib_hotwords(
$ctag
,
$this
));
4
}
01
else
if
(
$tagname
==
"arclist"
)
02
{
03
$this
->dtp->Assign(
$tagid
,lib_arclist(
$ctag
,
$this
));
04
}
05
else
if
(
$tagname
==
"channelartlist"
)
06
{
07
$this
->dtp->Assign(
$tagid
,lib_channelartlist(
$ctag
,
$this
));
08
}
09
else
if
(
$tagname
==
"myad"
)
10
{
11
$this
->dtp->Assign(
$tagid
,lib_myad(
$ctag
,
$this
));
12
}
13
else
if
(
$tagname
==
"php"
)
14
{
15
$this
->dtp->Assign(
$tagid
,lib_php(
$ctag
,
$this
));
16
}
17
else
if
(
$tagname
==
"sql"
)
18
{
19
$this
->dtp->Assign(
$tagid
,lib_sql(
$ctag
,
$this
));
20
}
包括{dede:arclist} {/dede:arclist}、{dede: channelartlist } {/dede: channelartlist}、{dede: myad } {/dede: myad }、{dede: php } {/dede: php }、{dede: sql } {/dede: sql }
如果需要支持其他的标签,以此类推。
如果本文对你有帮助,欢迎打赏本站