评论模板是指信息评论页面的模板,不同栏目可以设置不同的评论模板(/e/pl/)。
评论页面的调用
内容模板加评论页面链接:[!--news.url--]e/pl/?classid=[!--classid--]&id=[!--id--]
指定使用评论模板的链接:[!--news.url--]e/pl/?classid=[!--classid--]&id=[!--id--]&tempid=评论模板ID
列表头
[!--empirenews.listtemp--]
列表内容
[!--empirenews.listtemp--]
列表尾
说明:第一个[!--empirenews.listtemp--]表示循环开始、第二个[!--empirenews.listtemp--]表示循环结束。
管理评论模板

2、进入管理评论模板界面:(蓝色背景为默认模板)

3、点击“修改”进入修改评论模板界面:

在此处,只需要将设计好的代码模板放到此处即可,但在此处,首先,如果大家做的是纯静态代码是不能运行的,需要将帝国标签进行替换,从而表单模板可以进行使用。
接下来请参考【评论表单制作】→ 传送门
管理评论模板