|   如何在zblog首页上显示某个分类下的信息标题列表呢?我只想在首页只调用某个分类的内容,ArtList.ExportByCache("","3","","","","") 这样写为什么不管用?
 仔细研究了两个文件,default.asp和catelog.asp,仔细比照一下,就明白了!
   在default.asp当中34行左右修改这句 'Call System_Initialize_WithOutDB()为catelog.asp中的 Call System_Initialize()
 在49行修改:'If ArtList.ExportByCache("","","","","","") Then
 为catelog.asp中的 If ArtList.ExportByMixed(Request.QueryString("page"),"1",Request.QueryString("auth"),Request.QueryString("date"),Request.QueryString("tags"),ZC_DISPLAY_MODE_ALL) Then
 注意:ExportByMixed 当中的参数1表示分类1
 最后一步:把'Call System_Terminate_WithOutDB()修改
 为 Call System_Terminate() 即大功告成!
   请看本站效果.
 
 |