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

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

    CMS网站管理系统使用帮助——列表显示指定分类/专题新闻排行

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

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

  string TopList (Int32 id,string type, string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor, bool remarkLink)

  string TopList(Int32 id, string type, string toptype,Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor)

  string TopList(Int32 id, string toptype, Int32 topNum,Int32 maxLength,bool showClass,bool showHits, bool showDate, bool showNew, bool showAuthor)

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

  id 为要调用新闻的分类或专题或会员ID

  type 为要调用新闻类型,"sort"为分类新闻,"topic"为专题新闻,"member"为会员新闻

  toptype 为调用类型,"hot"为热门新闻,"new"为最新添加新闻,"weekhot"为本周热门新闻,"dayhot"为本日热门新闻,"random"为随机新闻,"digg"为digg排行,"weekdigg"为周digg排行,"remark"为评论排行

  topNum 为调用新闻数量

  maxLength 为新闻标题长度限制

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

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

  showDate 设置是否显示新闻日期

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

  showAuthor 设置是否显示新闻作者

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

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

  cols 设置新闻标题显示列数

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