经用户反应部分用户出现问答,论坛标题调不出来,这是因为sp1版本相对原V6正式版本对{@title}标签进行了改进,以解决文章系统标题设置颜色无效问题
解决方式:
打开ks_cls/kesion.label.functioncls.asp
找到
case "title","subject"
If KS.C_S(ModelID,6)="1" Then
echo GetItemTitle(Node.SelectSingleNode("@"&Lcase(sTemp)).text,KS.ChkClng(ParamNode.getAttribute("titlelen")),true,Node.SelectSingleNode("@titletype").text, Node.SelectSingleNode("@titlefontcolor").text, Node.SelectSingleNode("@titlefonttype").text)
Else
echo KS.Gottopic(Node.SelectSingleNode("@"&Lcase(sTemp)).text,KS.ChkClng(ParamNode.getAttribute("titlelen")))
End If
case "fulltitle" echo Node.SelectSingleNode("@title").text
将上面红色的改成以下代码即可
case "title","subject"
Dim temptitle
If KS.C_S(ModelID,6)="1" Then
temptitle=GetItemTitle(Node.SelectSingleNode("@"&Lcase(sTemp)).text,KS.ChkClng(ParamNode.getAttribute("titlelen")),true,Node.SelectSingleNode("@titletype").text, Node.SelectSingleNode("@titlefontcolor").text, Node.SelectSingleNode("@titlefonttype").text)
End If
If TempTitle="" Then temptitle=KS.Gottopic(Node.SelectSingleNode("@"&Lcase(sTemp)).text,KS.ChkClng(ParamNode.getAttribute("titlelen")))
echo temptitle
case "fulltitle" echo Node.SelectSingleNode("@title").text