网奇CMS - 成熟易用的.NET网站管理系统
旧版官网 | 客服论坛 | 彩虹服务 | 加入收藏 | TEL:400-600-2788

CMS网站管理系统使用帮助(18)

  CMS网站管理系统使用帮助——列表多个分类的新闻排行

  string TopList (string cids, Int32 topNum, Int32 maxLength, bool showClass, bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink, bool alternat, int cols)

  string TopList (string cids, Int32 topNum, Int32 maxLength, bool showClass, bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink, bool alternat)

  string TopList (string cids, Int32 topNum, Int32 maxLength, bool showClass, bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink)

  cids 为要调用新闻的分类ID,多个分类请用","分隔,如"1,2,3 "

  topNum 为调用新闻数量

  maxLength 为新闻标题长度限制

  showClass 设置是否显示新闻所在分类的连接

  showHits 设置是否显示新闻点击数

  showDate 设置是否显示新闻日期

  showNew 设置是否在新闻添加新闻后显示new图标

  showAuthor 设置是否显示新闻作者

  remarkLink 设置是否显示新闻评论链接(还取决于新闻的属性)

  alternat 设置是否用间隔颜色显示新闻标题

  cols 设置新闻标题显示列数

0 顶一下 打印 阅读:
安装帮助中最有帮助的文章