ASPCMS2.5.7版本生成静态栏目描述不能调用问题

 好久不用aspcms开发网站了,现在最新版本都2.5.7了,又新增了许多标签和msssql数据库开发,做的功能越来越强大,最近有时间再研究一下这套系统,今天遇到生成静态栏目描述不能调用,查询半天终于解决,这里把方法备份一下,下次遇到方便处理:

修改文件 /inc/AspCms_templateFun.asp 759行插入以下代码
'生成静态-栏目描述
  if isnul(rsObj("SortContent")) then
    templateObj.content=replace(templateObj.content,"{aspcms:SortContent}","")       
  else
    templateObj.content=replace(templateObj.content,"{aspcms:SortContent}",rsObj("SortContent"))
  end if
'生成静态-栏目描述

 如下图:

调用效果:



文章转载http://geduo.cc/html/technology/CMS/AspCms/20150318/140.html

猜你喜欢

转载自blog.csdn.net/fan_geduo/article/details/44399023