 
[分享]评论模板支持标签方法 此方法可以在评论模板中支持万能、灵动标签等。
找到/e/admin/template/ListPltemp.php 文件 在第五行加入 require("../../class/t_functions.php"); include("../../data/dbcache/class.php");
找到e\class\functions.php 文件中的 GetPlTempPage 函数 在3014行中$pltemp=RepSearchRtemp($pltemp,$url);下面加入 $pltemp=DtNewsBq('pl'.$ptsql[tempid],$pltemp,0);
原理和动态页支持标签一样,生成一个缓存文件,把缓存文件输出到变量里,缓存时间和动态页设置是一样。在参数设置 - 信息设置 在 动态列表变量缓存
添加完后,请“刷新动态页面”

|